From: Ken Raeburn Date: Mon, 10 Apr 2006 10:42:32 +0000 (+0000) Subject: * client.c (usage): Mark as "noreturn" under gcc X-Git-Tag: krb5-1.5-alpha1~93 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0663332b9d3a3e5cd36c2a8f442f25d6865ec1e;p=krb5.git * client.c (usage): Mark as "noreturn" under gcc git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17885 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 9f4b0e19d..c14530f8f 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,7 @@ +2006-04-10 Ken Raeburn + + * client.c (usage): Mark as "noreturn" under gcc. + 2006-04-03 Ken Raeburn * Makefile.in (DEFS): Make empty. diff --git a/src/lib/rpc/unit-test/client.c b/src/lib/rpc/unit-test/client.c index 796a5aaa1..e66f040a0 100644 --- a/src/lib/rpc/unit-test/client.c +++ b/src/lib/rpc/unit-test/client.c @@ -40,6 +40,9 @@ struct auth_gssapi_data { extern int auth_debug_gssapi; char *whoami; +#ifdef __GNUC__ +__attribute__((noreturn)) +#endif static void usage() { fprintf(stderr, "usage: %s {-t|-u} [-a] [-s num] [-m num] host service [count]\n",