Added null definitions for STDARG_P
authorTheodore Tso <tytso@mit.edu>
Thu, 30 May 1991 15:58:22 +0000 (15:58 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 30 May 1991 15:58:22 +0000 (15:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2130 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/base-defs.h

index b65b0703c3e9f0217ca82e00ba844938afd472b6..b8a9e813426b36c9dcb641cdbfcae89a97eef65b 100644 (file)
@@ -61,16 +61,19 @@ typedef char * krb5_const_pointer;
 #define PROTOTYPE(x) x
 #if defined(__STDC__) || defined(STDARG_PROTOTYPES)
 #define        STDARG_P(x) x
-#endif
+#else
+#define STDARG_P(x) ()
+#endif /* defined(__STDC__) || defined(STDARG_PROTOTYPES) */
 #ifdef NARROW_PROTOTYPES
 #define DECLARG(type, val) type val
 #define OLDDECLARG(type, val)
 #else
 #define DECLARG(type, val) val
 #define OLDDECLARG(type, val) type val;
-#endif /* Narrow prototypes */
+#endif /* NARROW_PROTOTYPES */
 #else
 #define PROTOTYPE(x) ()
+#define STDARG_P(x) ()
 #define DECLARG(type, val) val
 #define OLDDECLARG(type, val) type val;
 #endif /* STDC or PROTOTYPES */