unused -> __unused.

This commit is contained in:
Nicholas Marriott 2015-11-18 16:45:44 +00:00
parent a58eaec540
commit c15487318b
6 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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);
}

View File

@ -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;

View File

@ -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);
}