aboutsummaryrefslogtreecommitdiff
path: root/osdep-darwin.c
diff options
context:
space:
mode:
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;