diff --git a/CODING b/CODING index 1780b0ca53..8e1891d9ee 100644 --- a/CODING +++ b/CODING @@ -255,7 +255,7 @@ bucoord/commands.c : all : Ubik_Call : signed vs unsigned for dates butc/tcudbprocs.c : all : ubik_Call external/heimdal/hcrypto/validate.c: all: statement with empty body -kauth/admin_tools.c : all : signed vs unsigned for dates +kauth/admin_tools.c : strict-proto : ubik_Call kauth/authclient.c : strict-proto : ubik_Call nonsense libadmin/kas/afs_kasAdmin.c: strict-proto : ubik_Call nonsense libadmin/samples/rxstat_query_peer.c : all : util_RPCStatsStateGet types diff --git a/src/kauth/Makefile.in b/src/kauth/Makefile.in index e0efbf66d6..cffe8ea792 100644 --- a/src/kauth/Makefile.in +++ b/src/kauth/Makefile.in @@ -185,7 +185,6 @@ libkauth.krb.a: $(KRB_objs) kas.o: kas.c ${INCLS} AFS_component_version_number.o -CFLAGS_admin_tools.o= @CFLAGS_NOERROR@ admin_tools.o: admin_tools.c ${INCLS} kaport.h kkids.o: kkids.c ${INCLS} diff --git a/src/kauth/admin_tools.c b/src/kauth/admin_tools.c index 14706e9063..9ec57062ec 100644 --- a/src/kauth/admin_tools.c +++ b/src/kauth/admin_tools.c @@ -16,6 +16,10 @@ #include #include +#ifdef IGNORE_SOME_GCC_WARNINGS +# pragma GCC diagnostic warning "-Wstrict-prototypes" +#endif + #include #include #include @@ -581,7 +585,7 @@ SetFields(struct cmd_syndesc *as, void *arock) char instance[MAXKTCNAMELEN]; char *end; afs_int32 flags = 0; - Date expiration = 0; + afs_int32 expiration = 0; afs_int32 lifetime = 0; afs_int32 maxAssociates = -1; afs_int32 pwexpiry = 0;