From c92be1319057a0712a3ede575241833ef3436417 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Fri, 21 Apr 1995 15:00:11 +0000 Subject: [PATCH] If STDC and WINDOWS is not defined, define PROTOTYPE properly. (the definition was missing entirely then) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5424 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 a468456d8..26a0fa13f 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,7 @@ +Fri Apr 21 10:57:44 1995 Ezra Peisach (epeisach@kangaroo.mit.edu) + + * gssapi.h: If !stdc and !windows, define PROTOTYPE properly. + Thu Apr 20 14:23:14 1995 Keith Vetter (keithv@fusion.com) * gssapi.h: fixed up the "windows specific hackery". diff --git a/src/lib/gssapi/generic/gssapi.h b/src/lib/gssapi/generic/gssapi.h index 4d7e3f9b1..d91c63a76 100644 --- a/src/lib/gssapi/generic/gssapi.h +++ b/src/lib/gssapi/generic/gssapi.h @@ -73,6 +73,8 @@ typedef void FAR * gss_ctx_id_t; #if defined(__STDC__) || defined(_WINDOWS) #define PROTOTYPE(x) x +#else +#define PROTOTYPE(x) () #endif /* -- 2.26.2