From 0a586fa67ff58abdf050dbaa501043e57af030dc Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 27 Apr 1995 16:42:16 +0000 Subject: [PATCH] Only define PROTOTYPE if not previously defined. (avoid conflicting or re-definitions). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5543 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/profile/ChangeLog | 4 ++++ src/util/profile/profile.hin | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 1eaac6064..180216f94 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 26 09:54:18 1995 Ezra Peisach + + * profile.hin: Only define PROTOTYPE if it is undefined. + Tue Apr 25 17:28:48 1995 Ezra Peisach * configure.in: Add AC_CONST for platforms that do not support const. diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 3d34d082c..2fec69337 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -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)); -- 2.26.2