summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-22 13:34:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-22 13:34:46 +0000
commit798035e1a57d04d362e9c5628241209d574beb00 (patch)
tree51b1c00a4e087d5e50398ca2fbe068e4f11335f4 /src
parent4ba5ae5776c2e9ba4f297115c19923a928cf3e87 (diff)
downloadutmps-798035e1a57d04d362e9c5628241209d574beb00.tar.xz
change __unused to _dummy
__unused is a shortcut for __attribute__((__unused__)) on the BSDs, because of course it is. So, compilation error. -> change the field name.
Diffstat (limited to 'src')
-rw-r--r--src/include/utmps/utmpx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h
index 4752964..cdc6a8c 100644
--- a/src/include/utmps/utmpx.h
+++ b/src/include/utmps/utmpx.h
@@ -37,7 +37,7 @@ struct utmpx
struct timeval ut_tv ;
uint32_t ut_addr_v6[4] ;
- char __unused[20] ;
+ char _dummy[20] ;
} ;
#define ut_name ut_user