chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Internal code review complete.
[userv.git]
/
acconfig.h
diff --git
a/acconfig.h
b/acconfig.h
index 998b8e39c796d32067df71cdc718d2e9da02a5bf..160a27c9240e4f3cbc8dacf01f1a85cfb7168f6f 100644
(file)
--- a/
acconfig.h
+++ b/
acconfig.h
@@
-22,8
+22,8
@@
/* Define if function attributes a la GCC 2.5 and higher are available. */
#undef HAVE_GNUC25_ATTRIB
/* Define if function attributes a la GCC 2.5 and higher are available. */
#undef HAVE_GNUC25_ATTRIB
-/* Define if
constant
functions a la GCC 2.5 and higher are available. */
-#undef HAVE_GNUC25_
CONST
+/* Define if
unused
functions a la GCC 2.5 and higher are available. */
+#undef HAVE_GNUC25_
UNUSED
/* Define if nonreturning functions a la GCC 2.5 and higher are available. */
#undef HAVE_GNUC25_NORETURN
/* Define if nonreturning functions a la GCC 2.5 and higher are available. */
#undef HAVE_GNUC25_NORETURN
@@
-71,14
+71,14
@@
#define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
#endif
#define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
#endif
-/* GNU C
constant
functions, or null. */
-#ifndef ATTR
CONST
-#ifdef HAVE_GNUC25_
CONST
-#define ATTR
CONST const
+/* GNU C
unused
functions, or null. */
+#ifndef ATTR
UNUSED
+#ifdef HAVE_GNUC25_
UNUSED
+#define ATTR
UNUSED unused
#else
#else
-#define ATTR
CONST
+#define ATTR
UNUSED
#endif
#endif
#endif
#endif
-#ifndef
CONSTANT
-#define
CONSTANT FUNCATTR((ATTRCONST
))
+#ifndef
UNUSED
+#define
UNUSED FUNCATTR((ATTRUNUSED
))
#endif
#endif