chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@ -1,3 +1,22 @@
[userv.git]
/
acconfig.h
diff --git
a/acconfig.h
b/acconfig.h
index 998b8e39c796d32067df71cdc718d2e9da02a5bf..80cec87872147bc27be9e5f582e61d18db84046a 100644
(file)
--- a/
acconfig.h
+++ b/
acconfig.h
@@
-2,7
+2,7
@@
* userv - acconfig.h
* extra stuff for config.h.in (autoconf)
*
* userv - acconfig.h
* extra stuff for config.h.in (autoconf)
*
- * Copyright (C)1996-1997 Ian Jackson
+ * Copyright (C)1996-1997
,1999
Ian Jackson
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
@@
-19,11
+19,17
@@
* Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+/* Define if EPROTO exists. */
+#undef HAVE_EPROTO
+
+/* Define if LOG_AUTHPRIV exists. */
+#undef HAVE_LOG_AUTHPRIV
+
/* 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
@@
-33,6
+39,16
@@
@BOTTOM@
@BOTTOM@
+/* EPROTO */
+#ifndef HAVE_EPROTO
+#define EPROTO 0
+#endif
+
+/* LOG_AUTHPRIV */
+#ifndef HAVE_LOG_AUTHPRIV
+#define LOG_AUTHPRIV LOG_AUTH
+#endif
+
/* GNU C attributes. */
#ifndef FUNCATTR
#ifdef HAVE_GNUC25_ATTRIB
/* GNU C attributes. */
#ifndef FUNCATTR
#ifdef HAVE_GNUC25_ATTRIB
@@
-71,14
+87,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