Only define PROTOTYPE if not previously defined. (avoid conflicting
authorEzra Peisach <epeisach@mit.edu>
Thu, 27 Apr 1995 16:42:16 +0000 (16:42 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 27 Apr 1995 16:42:16 +0000 (16:42 +0000)
or re-definitions).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5543 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/ChangeLog
src/util/profile/profile.hin

index 1eaac6064e4c614cfbc7fc6673b7ec42d39b5086..180216f94c252e3721fd9a4a9efd0f1bcdf9eef6 100644 (file)
@@ -1,3 +1,7 @@
+Wed Apr 26 09:54:18 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * profile.hin: Only define PROTOTYPE if it is undefined.
+
 Tue Apr 25 17:28:48 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * configure.in: Add AC_CONST for platforms that do not support const.
index 3d34d082c4f8cecf6468934b4fe17fb2ed5e7196..2fec69337d3c87d6929567686048443730ab86d4 100644 (file)
@@ -4,11 +4,13 @@
 
 typedef struct _profile_t *profile_t;
 
+#if !defined(PROTOTYPE)
 #if defined(__STDC__) || defined(_WINDOWS)
 #define PROTOTYPE(x) x
 #else
 #define PROTOTYPE(x) ()
 #endif
+#endif
 
 extern long profile_init
        PROTOTYPE ((const char **filenames, profile_t *ret_profile));