projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
031be96
)
add DECLARG, OLDDECLARG to do proper type conversion &c for ANSI
author
John Kohl
<jtkohl@mit.edu>
Thu, 8 Feb 1990 10:16:49 +0000
(10:16 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Thu, 8 Feb 1990 10:16:49 +0000
(10:16 +0000)
and old C
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@321
dc483132
-0cff-0310-8789-
dd5450dbe970
src/include/krb5/base-defs.h
patch
|
blob
|
history
diff --git
a/src/include/krb5/base-defs.h
b/src/include/krb5/base-defs.h
index 7f11355b8b65cbefd20d22b5f7e783d28465f452..fe01f2310c1f4f9fc2d70c1d1f7d2ff857cf51ad 100644
(file)
--- a/
src/include/krb5/base-defs.h
+++ b/
src/include/krb5/base-defs.h
@@
-56,12
+56,16
@@
typedef krb5_data ** krb5_principal; /* array of strings */
#ifdef __STDC__
typedef void * krb5_pointer;
#define PROTOTYPE(x) x
+#define DECLARG(type, val) type val
+#define OLDDECLARG(type, val)
#else
/* make const & volatile available without effect */
#define const
#define volatile
typedef char * krb5_pointer;
#define PROTOTYPE(x) ()
+#define DECLARG(type, val) val
+#define OLDDECLARG(type, val) type val;
#endif /* __STDC__ */
#endif /* __KRB5_BASE_DEFS__ */