From: Ezra Peisach Date: Thu, 27 Apr 1995 16:42:16 +0000 (+0000) Subject: Only define PROTOTYPE if not previously defined. (avoid conflicting X-Git-Tag: krb5-1.0-beta5~209 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0a586fa67ff58abdf050dbaa501043e57af030dc;p=krb5.git 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 --- 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));