svn rev #25141: trunk/src/ appl/gss-sample/ kadmin/cli/ lib/kadm5/clnt/ lib/kadm5/srv/ ...

raeburn@MIT.EDU raeburn at MIT.EDU
Sun Sep 4 19:52:12 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25141
Commit By: raeburn
Log Message:
Get rid of variables triggering gcc's "defined but not used"
complaints, almost entirely "rcsid" variables.


Changed Files:
U   trunk/src/appl/gss-sample/gss-misc.c
U   trunk/src/kadmin/cli/keytab.c
U   trunk/src/lib/kadm5/clnt/client_principal.c
U   trunk/src/lib/kadm5/clnt/clnt_policy.c
U   trunk/src/lib/kadm5/clnt/clnt_privs.c
U   trunk/src/lib/kadm5/srv/adb_xdr.c
U   trunk/src/lib/kadm5/srv/server_init.c
U   trunk/src/lib/kadm5/srv/server_kdb.c
U   trunk/src/lib/kadm5/srv/svr_iters.c
U   trunk/src/lib/kadm5/srv/svr_policy.c
U   trunk/src/lib/rpc/unit-test/client.c
U   trunk/src/lib/rpc/unit-test/server.c
U   trunk/src/plugins/kdb/db2/adb_openclose.c
U   trunk/src/plugins/kdb/db2/adb_policy.c
U   trunk/src/plugins/kdb/db2/db2_exp.c
U   trunk/src/tests/gss-threads/gss-misc.c
Modified: trunk/src/appl/gss-sample/gss-misc.c
===================================================================
--- trunk/src/appl/gss-sample/gss-misc.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/appl/gss-sample/gss-misc.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -44,10 +44,6 @@
  * or implied warranty.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #ifdef _WIN32
 #include <windows.h>

Modified: trunk/src/kadmin/cli/keytab.c
===================================================================
--- trunk/src/kadmin/cli/keytab.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/kadmin/cli/keytab.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -32,10 +32,6 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: trunk/src/lib/kadm5/clnt/client_principal.c
===================================================================
--- trunk/src/lib/kadm5/clnt/client_principal.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/clnt/client_principal.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include    <gssrpc/rpc.h>
 #include    <kadm5/admin.h>
 #include    <kadm5/kadm_rpc.h>

Modified: trunk/src/lib/kadm5/clnt/clnt_policy.c
===================================================================
--- trunk/src/lib/kadm5/clnt/clnt_policy.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/clnt/clnt_policy.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include    <gssrpc/rpc.h>
 #include    <kadm5/admin.h>
 #include    <kadm5/kadm_rpc.h>

Modified: trunk/src/lib/kadm5/clnt/clnt_privs.c
===================================================================
--- trunk/src/lib/kadm5/clnt/clnt_privs.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/clnt/clnt_privs.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -7,10 +7,6 @@
  *
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include    <gssrpc/rpc.h>
 #include    <kadm5/admin.h>
 #include    <kadm5/kadm_rpc.h>

Modified: trunk/src/lib/kadm5/srv/adb_xdr.c
===================================================================
--- trunk/src/lib/kadm5/srv/adb_xdr.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/srv/adb_xdr.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <sys/types.h>
 #include <krb5.h>
 #include <gssrpc/rpc.h>

Modified: trunk/src/lib/kadm5/srv/server_init.c
===================================================================
--- trunk/src/lib/kadm5/srv/server_init.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/srv/server_init.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -10,10 +10,6 @@
  * Use is subject to license terms.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>

Modified: trunk/src/lib/kadm5/srv/server_kdb.c
===================================================================
--- trunk/src/lib/kadm5/srv/server_kdb.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/srv/server_kdb.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -10,10 +10,6 @@
  * Use is subject to license terms.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include "k5-int.h"

Modified: trunk/src/lib/kadm5/srv/svr_iters.c
===================================================================
--- trunk/src/lib/kadm5/srv/svr_iters.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/srv/svr_iters.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include "autoconf.h"
 #if defined(HAVE_COMPILE) && defined(HAVE_STEP)
 #define SOLARIS_REGEXPS

Modified: trunk/src/lib/kadm5/srv/svr_policy.c
===================================================================
--- trunk/src/lib/kadm5/srv/svr_policy.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/kadm5/srv/svr_policy.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include        <sys/types.h>
 #include        <kadm5/admin.h>
 #include        "server_internal.h"

Modified: trunk/src/lib/rpc/unit-test/client.c
===================================================================
--- trunk/src/lib/rpc/unit-test/client.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/rpc/unit-test/client.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  *
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #include <string.h>
 #include "autoconf.h"

Modified: trunk/src/lib/rpc/unit-test/server.c
===================================================================
--- trunk/src/lib/rpc/unit-test/server.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/lib/rpc/unit-test/server.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Source$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include "k5-platform.h"
 
 #include <stdio.h>

Modified: trunk/src/plugins/kdb/db2/adb_openclose.c
===================================================================
--- trunk/src/plugins/kdb/db2/adb_openclose.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/plugins/kdb/db2/adb_openclose.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include        <sys/file.h>
 #include        <fcntl.h>
 #include        <unistd.h>

Modified: trunk/src/plugins/kdb/db2/adb_policy.c
===================================================================
--- trunk/src/plugins/kdb/db2/adb_policy.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/plugins/kdb/db2/adb_policy.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -5,10 +5,6 @@
  * $Header$
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include "k5-int.h"
 
 #include <sys/file.h>

Modified: trunk/src/plugins/kdb/db2/db2_exp.c
===================================================================
--- trunk/src/plugins/kdb/db2/db2_exp.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/plugins/kdb/db2/db2_exp.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -32,10 +32,6 @@
  *       %date_created:  Tue Apr  5 11:44:00 2005 %
  *
  **********************************************************************/
-#ifndef lint
-static char *_csrc = "@(#) %filespec: db2_exp.c~5 %  (%full_filespec: db2_exp.c~5:csrc:idc_sec#2 %)";
-#endif
-
 #include "k5-int.h"
 
 #if HAVE_UNISTD_H

Modified: trunk/src/tests/gss-threads/gss-misc.c
===================================================================
--- trunk/src/tests/gss-threads/gss-misc.c	2011-09-04 22:13:30 UTC (rev 25140)
+++ trunk/src/tests/gss-threads/gss-misc.c	2011-09-04 23:52:11 UTC (rev 25141)
@@ -43,10 +43,6 @@
  * or implied warranty.
  */
 
-#if !defined(lint) && !defined(__CODECENTER__)
-static char *rcsid = "$Header$";
-#endif
-
 #include <stdio.h>
 #ifdef _WIN32
 #include <windows.h>




More information about the cvs-krb5 mailing list