summaryrefslogtreecommitdiffstats
path: root/osdep-darwin.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2015-11-18 16:45:44 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2015-11-18 16:45:44 +0000
commitc15487318b08a88aebc9cf583cbdc591b1bc34c8 (patch)
tree61bf2f2b7c1a30dcc8d08f2d25a8f6953b218fb8 /osdep-darwin.c
parenta58eaec5403d39f2e89e79146a0ffbb90a956679 (diff)
unused -> __unused.
Diffstat (limited to 'osdep-darwin.c')
-rw-r--r--osdep-darwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep-darwin.c b/osdep-darwin.c
index 7be70375..40b18951 100644
--- a/osdep-darwin.c
+++ b/osdep-darwin.c
@@ -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;