summaryrefslogtreecommitdiffstats
path: root/src/hlog.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-02-24 17:03:26 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-02-24 17:03:26 (GMT)
commit1a4097e55cabfb2b70e0262a73e86629d8a509a7 (patch)
treeab3e959caa2d17ddb3bbeb19247a3fc3675338f3 /src/hlog.c
parent48ca10f80ee7dab2277feb83472466b79110cea6 (diff)
downloadhdf5-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hlog.c b/src/hlog.c
index a017843..5606096 100644
--- a/src/hlog.c
+++ b/src/hlog.c
@@ -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;