diff options
author | Ezra Peisach <epeisach@mit.edu> | 1995-04-27 16:42:16 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1995-04-27 16:42:16 +0000 |
commit | 0a586fa67ff58abdf050dbaa501043e57af030dc (patch) | |
tree | a30dfb581584b642acac015d65cfb65cf44f1765 | |
parent | e4197f0ec15f5ae1a5f35c6b20e48337855c4e33 (diff) | |
download | krb5-0a586fa67ff58abdf050dbaa501043e57af030dc.tar.gz krb5-0a586fa67ff58abdf050dbaa501043e57af030dc.tar.xz krb5-0a586fa67ff58abdf050dbaa501043e57af030dc.zip |
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
-rw-r--r-- | src/util/profile/ChangeLog | 4 | ||||
-rw-r--r-- | src/util/profile/profile.hin | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index 1eaac6064e..180216f94c 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -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. diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 3d34d082c4..2fec69337d 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)); |