diff options
author | David Young <dyoung@hdfgroup.org> | 2020-02-24 17:03:26 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-02-24 17:03:26 (GMT) |
commit | 1a4097e55cabfb2b70e0262a73e86629d8a509a7 (patch) | |
tree | ab3e959caa2d17ddb3bbeb19247a3fc3675338f3 /src/hlog.c | |
parent | 48ca10f80ee7dab2277feb83472466b79110cea6 (diff) | |
download | hdf5-1a4097e55cabfb2b70e0262a73e86629d8a509a7.zip hdf5-1a4097e55cabfb2b70e0262a73e86629d8a509a7.tar.gz hdf5-1a4097e55cabfb2b70e0262a73e86629d8a509a7.tar.bz2 |
Don't use the __ prefix for attributes __unused and such, since that's reserved
for the system software, IIUC, and it clashes with a symbol on CentOS.
Instead, use a _ prefix.
Diffstat (limited to 'src/hlog.c')
-rw-r--r-- | src/hlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ HLOG_OUTLET_TOP_DEFN(all); static struct timespec timestamp_zero; -void hlog_init(void) __constructor; +void hlog_init(void) _constructor; static void hlog_init_timestamps(void); void @@ -246,7 +246,7 @@ hlog_outlet_find_active(struct hlog_outlet *ls0) } void -hlog_always(struct hlog_outlet *ls __unused, const char *fmt, ...) +hlog_always(struct hlog_outlet *ls _unused, const char *fmt, ...) { va_list ap; |