From 85b29c75a57639075661d80bde24259885b1d5bf Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 30 Apr 1995 03:10:55 +0000 Subject: [PATCH] Do not redefine PROTOTYPE if it is already defined git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5662 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/ChangeLog | 4 ++++ src/lib/gssapi/generic/gssapi.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index 26a0fa13f..54d02c59b 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,7 @@ +Sat Apr 29 15:29:15 1995 Ezra Peisach + + * gssapi.h: Only define PROTOTYPE if it is not deined at all. + Fri Apr 21 10:57:44 1995 Ezra Peisach (epeisach@kangaroo.mit.edu) * gssapi.h: If !stdc and !windows, define PROTOTYPE properly. diff --git a/src/lib/gssapi/generic/gssapi.h b/src/lib/gssapi/generic/gssapi.h index d91c63a76..b711886b1 100644 --- a/src/lib/gssapi/generic/gssapi.h +++ b/src/lib/gssapi/generic/gssapi.h @@ -71,11 +71,13 @@ typedef void FAR * gss_name_t; typedef void FAR * gss_cred_id_t; typedef void FAR * gss_ctx_id_t; +#if !defined(PROTOTYPE) #if defined(__STDC__) || defined(_WINDOWS) #define PROTOTYPE(x) x #else #define PROTOTYPE(x) () #endif +#endif /* * Note that a platform supporting the xom.h X/Open header file -- 2.26.2