mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-23 15:19:06 +01:00
unused -> __unused.
This commit is contained in:
parent
a58eaec540
commit
c15487318b
@ -26,7 +26,7 @@
|
||||
#include "tmux.h"
|
||||
|
||||
char *
|
||||
osdep_get_name(unused int fd, char *tty)
|
||||
osdep_get_name(__unused int fd, char *tty)
|
||||
{
|
||||
struct psinfo p;
|
||||
char *path;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "tmux.h"
|
||||
|
||||
char *
|
||||
osdep_get_name(int fd, unused char *tty)
|
||||
osdep_get_name(int fd, __unused char *tty)
|
||||
{
|
||||
FILE *f;
|
||||
char *path, *buf;
|
||||
|
@ -28,10 +28,10 @@ char *osdep_get_name(int, char *);
|
||||
char *osdep_get_cwd(int);
|
||||
struct event_base *osdep_event_init(void);
|
||||
|
||||
#define unused __attribute__ ((unused))
|
||||
#define __unused __attribute__ ((__unused__))
|
||||
|
||||
char *
|
||||
osdep_get_name(int fd, unused char *tty)
|
||||
osdep_get_name(int fd, __unused char *tty)
|
||||
{
|
||||
struct proc_bsdinfo bsdinfo;
|
||||
pid_t pgrp;
|
||||
|
@ -23,13 +23,13 @@
|
||||
#include "tmux.h"
|
||||
|
||||
char *
|
||||
osdep_get_name(unused int fd, unused char *tty)
|
||||
osdep_get_name(__unused int fd, __unused char *tty)
|
||||
{
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
char *
|
||||
osdep_get_cwd(unused int fd)
|
||||
osdep_get_cwd(__unused int fd)
|
||||
{
|
||||
return (NULL);
|
||||
}
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "tmux.h"
|
||||
|
||||
char *
|
||||
osdep_get_name(int fd, unused char *tty)
|
||||
osdep_get_name(int fd, __unused char *tty)
|
||||
{
|
||||
FILE *f;
|
||||
char *path, *buf;
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "tmux.h"
|
||||
|
||||
char *
|
||||
osdep_get_name(unused int fd, unused char *tty)
|
||||
osdep_get_name(__unused int fd, __unused char *tty)
|
||||
{
|
||||
return (NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user