diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-22 13:34:46 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-11-22 13:34:46 +0000 |
| commit | 798035e1a57d04d362e9c5628241209d574beb00 (patch) | |
| tree | 51b1c00a4e087d5e50398ca2fbe068e4f11335f4 /src/include | |
| parent | 4ba5ae5776c2e9ba4f297115c19923a928cf3e87 (diff) | |
| download | utmps-798035e1a57d04d362e9c5628241209d574beb00.tar.gz | |
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/include')
| -rw-r--r-- | src/include/utmps/utmpx.h | 2 |
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 |
