From 3bb69ffe816d228dde170b2ef0fecf43f7f4aee5 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 17 Jan 2010 19:51:28 -0500 Subject: [PATCH] Remove CVS $Sudo$ tags. --- Makefile.binary.in | 2 -- Makefile.in | 4 +--- aix.c | 4 ---- alias.c | 4 ---- alloc.c | 4 ---- alloc.h | 2 -- auth/afs.c | 4 ---- auth/aix_auth.c | 4 ---- auth/bsdauth.c | 4 ---- auth/dce.c | 4 ---- auth/fwtk.c | 4 ---- auth/kerb4.c | 4 ---- auth/kerb5.c | 4 ---- auth/pam.c | 4 ---- auth/passwd.c | 4 ---- auth/rfc1938.c | 4 ---- auth/secureware.c | 4 ---- auth/securid.c | 4 ---- auth/securid5.c | 4 ---- auth/sia.c | 4 ---- auth/sudo_auth.c | 4 ---- auth/sudo_auth.h | 2 -- check.c | 4 ---- closefrom.c | 4 ---- compat.h | 2 -- configure.in | 1 - defaults.c | 4 ---- defaults.h | 2 -- emul/charclass.h | 2 -- emul/timespec.h | 2 -- env.c | 4 ---- error.c | 4 ---- error.h | 2 -- fileops.c | 4 ---- find_path.c | 4 ---- getcwd.c | 4 ---- getprogname.c | 4 ---- getspwuid.c | 4 ---- gettime.c | 4 ---- goodpath.c | 4 ---- gram.c | 4 ---- gram.y | 4 ---- ins_2001.h | 2 -- ins_classic.h | 2 -- ins_csops.h | 2 -- ins_goons.h | 2 -- insults.h | 2 -- interfaces.c | 4 ---- interfaces.h | 2 -- isblank.c | 4 ---- lbuf.c | 4 ---- lbuf.h | 2 -- ldap.c | 4 ---- list.c | 4 ---- list.h | 2 -- logging.c | 4 ---- logging.h | 2 -- match.c | 4 ---- memrchr.c | 4 ---- missing.h | 2 -- mkinstalldirs | 2 -- mkstemp.c | 4 ---- mon_systrace.c | 4 ---- nanosleep.c | 4 ---- parse.c | 4 ---- parse.h | 2 -- pathnames.h.in | 2 -- pty.c | 4 ---- pwutil.c | 4 ---- redblack.c | 4 ---- redblack.h | 2 -- sample.pam | 2 -- sample.sudoers | 2 -- sample.syslog.conf | 2 -- script.c | 4 ---- selinux.c | 4 ---- sesh.c | 4 ---- set_perms.c | 4 ---- sigaction.c | 4 ---- snprintf.c | 4 ---- strcasecmp.c | 4 ---- strerror.c | 4 ---- strlcat.c | 4 ---- strlcpy.c | 4 ---- strsignal.c | 4 ---- sudo.c | 4 ---- sudo.h | 2 -- sudo.man.in | 1 - sudo.pod | 1 - sudo_edit.c | 4 ---- sudo_noexec.c | 4 ---- sudo_nss.c | 4 ---- sudo_nss.h | 2 -- sudo_usage.h.in | 2 -- sudoers.ldap.man.in | 1 - sudoers.ldap.pod | 1 - sudoers.man.in | 1 - sudoers.pod | 1 - sudoers2ldif | 2 -- sudoreplay.c | 4 ---- sudoreplay.man.in | 1 - sudoreplay.pod | 1 - term.c | 4 ---- testsudoers.c | 5 ----- tgetpass.c | 4 ---- timestr.c | 4 ---- toke.c | 4 ---- toke.l | 4 ---- utimes.c | 4 ---- visudo.c | 4 ---- visudo.man.in | 1 - visudo.pod | 1 - zero_bytes.c | 4 ---- 113 files changed, 1 insertion(+), 361 deletions(-) diff --git a/Makefile.binary.in b/Makefile.binary.in index 2b1881a6c..60d05eaba 100644 --- a/Makefile.binary.in +++ b/Makefile.binary.in @@ -14,8 +14,6 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# $Sudo$ -# srcdir = . diff --git a/Makefile.in b/Makefile.in index 582894840..f20863dce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,8 +21,6 @@ # # @configure_input@ # -# $Sudo$ -# #### Start of system configuration section. #### @@ -450,7 +448,7 @@ sudoers.cat: sudoers.man @DEV@ pod2text -l -i0 $> | sed '1,2d' > $@ ChangeLog: - cvs2cl --follow-only trunk + hg log --style=changelog -b default > ChangeLog install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man diff --git a/aix.c b/aix.c index c4fbb98d4..f2d9d9c32 100644 --- a/aix.c +++ b/aix.c @@ -32,10 +32,6 @@ #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifdef HAVE_GETUSERATTR #ifndef RLIM_SAVED_MAX diff --git a/alias.c b/alias.c index 6d6ea5d40..e389c7113 100644 --- a/alias.c +++ b/alias.c @@ -46,10 +46,6 @@ #include "redblack.h" #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Globals */ diff --git a/alloc.c b/alloc.c index c1bbaf053..d8bd857ce 100644 --- a/alloc.c +++ b/alloc.c @@ -48,10 +48,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t * could be signed (as it is on SunOS 4.x). This just means that diff --git a/alloc.h b/alloc.h index a92ba71c3..7442fe8c1 100644 --- a/alloc.h +++ b/alloc.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_ALLOC_H diff --git a/auth/afs.c b/auth/afs.c index 3bb111020..337cd4d20 100644 --- a/auth/afs.c +++ b/auth/afs.c @@ -50,10 +50,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int afs_verify(pw, pass, auth) struct passwd *pw; diff --git a/auth/aix_auth.c b/auth/aix_auth.c index 6cf324fc8..919fa9981 100644 --- a/auth/aix_auth.c +++ b/auth/aix_auth.c @@ -46,10 +46,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * For a description of the AIX authentication API, see * http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/authenticate.htm diff --git a/auth/bsdauth.c b/auth/bsdauth.c index 9cc816627..f70e90b00 100644 --- a/auth/bsdauth.c +++ b/auth/bsdauth.c @@ -51,10 +51,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - extern char *login_style; /* from sudo.c */ int diff --git a/auth/dce.c b/auth/dce.c index ad1860b53..943e064c8 100644 --- a/auth/dce.c +++ b/auth/dce.c @@ -64,10 +64,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static int check_dce_status __P((error_status_t, char *)); int diff --git a/auth/fwtk.c b/auth/fwtk.c index 860f17a5e..853fc3ba3 100644 --- a/auth/fwtk.c +++ b/auth/fwtk.c @@ -49,10 +49,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int fwtk_init(pw, promptp, auth) struct passwd *pw; diff --git a/auth/kerb4.c b/auth/kerb4.c index 19bb20a98..4b3e38147 100644 --- a/auth/kerb4.c +++ b/auth/kerb4.c @@ -47,10 +47,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int kerb4_init(pw, promptp, auth) struct passwd *pw; diff --git a/auth/kerb5.c b/auth/kerb5.c index 3f0a199fc..d03bd9a79 100644 --- a/auth/kerb5.c +++ b/auth/kerb5.c @@ -53,10 +53,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifdef HAVE_HEIMDAL # define extract_name(c, p) krb5_principal_get_comp_string(c, p, 1) # define krb5_free_data_contents(c, d) krb5_data_free(d) diff --git a/auth/pam.c b/auth/pam.c index 56b8e19f1..f4269b841 100644 --- a/auth/pam.c +++ b/auth/pam.c @@ -72,10 +72,6 @@ # define PAM_CONST #endif -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static int sudo_conv __P((int, PAM_CONST struct pam_message **, struct pam_response **, void *)); static char *def_prompt = "Password:"; diff --git a/auth/passwd.c b/auth/passwd.c index 5d3822e56..e35130664 100644 --- a/auth/passwd.c +++ b/auth/passwd.c @@ -46,10 +46,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #define DESLEN 13 #define HAS_AGEINFO(p, l) (l == 18 && p[DESLEN] == ',') diff --git a/auth/rfc1938.c b/auth/rfc1938.c index 2cb17087c..1769e6f7f 100644 --- a/auth/rfc1938.c +++ b/auth/rfc1938.c @@ -63,10 +63,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int rfc1938_setup(pw, promptp, auth) struct passwd *pw; diff --git a/auth/secureware.c b/auth/secureware.c index bbc1b8818..d21712706 100644 --- a/auth/secureware.c +++ b/auth/secureware.c @@ -53,10 +53,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int secureware_init(pw, promptp, auth) struct passwd *pw; diff --git a/auth/securid.c b/auth/securid.c index e7a753625..4edddb4e5 100644 --- a/auth/securid.c +++ b/auth/securid.c @@ -53,10 +53,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - union config_record configure; int diff --git a/auth/securid5.c b/auth/securid5.c index 706373b45..b59bf8f5d 100644 --- a/auth/securid5.c +++ b/auth/securid5.c @@ -55,10 +55,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * securid_init - Initialises communications with ACE server * Arguments in: diff --git a/auth/sia.c b/auth/sia.c index e7ccea725..1f919f481 100644 --- a/auth/sia.c +++ b/auth/sia.c @@ -49,10 +49,6 @@ #include "sudo.h" #include "sudo_auth.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static int sudo_collect __P((int, int, uchar_t *, int, prompt_t *)); static char *def_prompt; diff --git a/auth/sudo_auth.c b/auth/sudo_auth.c index e8ebd2fef..58a079bb0 100644 --- a/auth/sudo_auth.c +++ b/auth/sudo_auth.c @@ -52,10 +52,6 @@ #include "sudo_auth.h" #include "insults.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - sudo_auth auth_switch[] = { #ifdef AUTH_STANDALONE AUTH_STANDALONE diff --git a/auth/sudo_auth.h b/auth/sudo_auth.h index 35c821700..a4efe1412 100644 --- a/auth/sudo_auth.h +++ b/auth/sudo_auth.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef SUDO_AUTH_H diff --git a/check.c b/check.c index 11cbcf1cb..f989bfd48 100644 --- a/check.c +++ b/check.c @@ -58,10 +58,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* Status codes for timestamp_status() */ #define TS_CURRENT 0 #define TS_OLD 1 diff --git a/closefrom.c b/closefrom.c index 5ffb7d2af..fb9958ebc 100644 --- a/closefrom.c +++ b/closefrom.c @@ -49,10 +49,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef HAVE_FCNTL_CLOSEM # ifndef HAVE_DIRFD # define closefrom_fallback closefrom diff --git a/compat.h b/compat.h index 255c4ff7a..808ada367 100644 --- a/compat.h +++ b/compat.h @@ -17,8 +17,6 @@ * Sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F39502-99-1-0512. - * - * $Sudo$ */ #ifndef _SUDO_COMPAT_H diff --git a/configure.in b/configure.in index 25d0c710b..dcffbdd1a 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,5 @@ dnl dnl Process this file with GNU autoconf to produce a configure script. -dnl $Sudo$ dnl dnl Copyright (c) 1994-1996,1998-2009 Todd C. Miller dnl diff --git a/defaults.c b/defaults.c index 221e0d11f..081cf725f 100644 --- a/defaults.c +++ b/defaults.c @@ -49,10 +49,6 @@ #include "parse.h" #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * For converting between syslog numbers and strings. */ diff --git a/defaults.h b/defaults.h index 1c5fda781..eed255452 100644 --- a/defaults.h +++ b/defaults.h @@ -17,8 +17,6 @@ * Sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F39502-99-1-0512. - * - * $Sudo$ */ #ifndef _SUDO_DEFAULTS_H diff --git a/emul/charclass.h b/emul/charclass.h index 5b8bb0564..15463ff2c 100644 --- a/emul/charclass.h +++ b/emul/charclass.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ /* diff --git a/emul/timespec.h b/emul/timespec.h index 13aedc397..681c5239a 100644 --- a/emul/timespec.h +++ b/emul/timespec.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_TIMESPEC_H diff --git a/env.c b/env.c index 00c2f0f51..88e6553ea 100644 --- a/env.c +++ b/env.c @@ -49,10 +49,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Flags used in rebuild_env() */ diff --git a/error.c b/error.c index 73e1fe1ea..317f10561 100644 --- a/error.c +++ b/error.c @@ -23,10 +23,6 @@ #include #include "error.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static void _warning __P((int, const char *, va_list)); void cleanup __P((int)); diff --git a/error.h b/error.h index 87562beac..5ac307600 100644 --- a/error.h +++ b/error.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_ERROR_H_ diff --git a/fileops.c b/fileops.c index 69b34f0d9..5e9d31dd6 100644 --- a/fileops.c +++ b/fileops.c @@ -53,10 +53,6 @@ # define LINE_MAX 2048 #endif -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Update the access and modify times on an fd or file. */ diff --git a/find_path.c b/find_path.c index b6f5f0aa4..59d94f387 100644 --- a/find_path.c +++ b/find_path.c @@ -45,10 +45,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * This function finds the full pathname for a command and * stores it in a statically allocated array, filling in a pointer diff --git a/getcwd.c b/getcwd.c index cd47cf44d..daa6b4da3 100644 --- a/getcwd.c +++ b/getcwd.c @@ -78,10 +78,6 @@ (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || \ (dp->d_name[1] == '.' && dp->d_name[2] == '\0'))) -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - char * getcwd(pt, size) char *pt; diff --git a/getprogname.c b/getprogname.c index 23e4dbca2..f269405d0 100644 --- a/getprogname.c +++ b/getprogname.c @@ -24,10 +24,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - const char * getprogname() { diff --git a/getspwuid.c b/getspwuid.c index f53b93f81..8c07d1516 100644 --- a/getspwuid.c +++ b/getspwuid.c @@ -70,10 +70,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Exported for auth/secureware.c */ diff --git a/gettime.c b/gettime.c index a8b015acb..f6de47532 100644 --- a/gettime.c +++ b/gettime.c @@ -28,10 +28,6 @@ #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Get the current time via gettimeofday() for systems with * timespecs in struct stat or, otherwise, using time(). diff --git a/goodpath.c b/goodpath.c index aba3dc15e..258bc899a 100644 --- a/goodpath.c +++ b/goodpath.c @@ -38,10 +38,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Verify that path is a normal file and executable by root. */ diff --git a/gram.c b/gram.c index fe24d591c..add47a40a 100644 --- a/gram.c +++ b/gram.c @@ -72,10 +72,6 @@ static char yyrcsid[] #include "sudo.h" #include "parse.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * We must define SIZE_MAX for yacc's skeleton.c. * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t diff --git a/gram.y b/gram.y index e36bad482..561862a3e 100644 --- a/gram.y +++ b/gram.y @@ -53,10 +53,6 @@ #include "sudo.h" #include "parse.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * We must define SIZE_MAX for yacc's skeleton.c. * If there is no SIZE_MAX or SIZE_T_MAX we have to assume that size_t diff --git a/ins_2001.h b/ins_2001.h index f53512bb9..63a5d6400 100644 --- a/ins_2001.h +++ b/ins_2001.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_INS_2001_H diff --git a/ins_classic.h b/ins_classic.h index e26dad9c9..b1942bd78 100644 --- a/ins_classic.h +++ b/ins_classic.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_INS_CLASSIC_H diff --git a/ins_csops.h b/ins_csops.h index 70b7f869b..20e9b02d8 100644 --- a/ins_csops.h +++ b/ins_csops.h @@ -13,8 +13,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_INS_CSOPS_H diff --git a/ins_goons.h b/ins_goons.h index 5d5ab1eca..16a262acc 100644 --- a/ins_goons.h +++ b/ins_goons.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_INS_GOONS_H diff --git a/insults.h b/insults.h index 7a9dd224e..bdb3fc66a 100644 --- a/insults.h +++ b/insults.h @@ -13,8 +13,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_INSULTS_H diff --git a/interfaces.c b/interfaces.c index a2f0cd38c..eed075301 100644 --- a/interfaces.c +++ b/interfaces.c @@ -84,10 +84,6 @@ struct rtentry; #include "sudo.h" #include "interfaces.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* Minix apparently lacks IFF_LOOPBACK */ #ifndef IFF_LOOPBACK # define IFF_LOOPBACK 0 diff --git a/interfaces.h b/interfaces.h index 756d3a38a..b9591af45 100644 --- a/interfaces.h +++ b/interfaces.h @@ -17,8 +17,6 @@ * Sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F39502-99-1-0512. - * - * $Sudo$ */ #ifndef _SUDO_INTERFACES_H diff --git a/isblank.c b/isblank.c index 67c64f972..e6ad58d49 100644 --- a/isblank.c +++ b/isblank.c @@ -17,10 +17,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #undef isblank int isblank(ch) diff --git a/lbuf.c b/lbuf.c index 88f66e056..402e6d6ac 100644 --- a/lbuf.c +++ b/lbuf.c @@ -52,10 +52,6 @@ #include "sudo.h" #include "lbuf.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #if !defined(TIOCGSIZE) && defined(TIOCGWINSZ) # define TIOCGSIZE TIOCGWINSZ # define ttysize winsize diff --git a/lbuf.h b/lbuf.h index 26dceac0b..fbc9fdc00 100644 --- a/lbuf.h +++ b/lbuf.h @@ -14,8 +14,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $Sudo$" */ #ifndef _SUDO_LBUF_H diff --git a/ldap.c b/ldap.c index e5653b264..94ea4cbe4 100644 --- a/ldap.c +++ b/ldap.c @@ -81,10 +81,6 @@ #include "parse.h" #include "lbuf.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef LDAP_OPT_SUCCESS # define LDAP_OPT_SUCCESS LDAP_SUCCESS #endif diff --git a/list.c b/list.c index 0c16af684..60c113802 100644 --- a/list.c +++ b/list.c @@ -31,10 +31,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - struct list_proto { struct list_proto *prev; struct list_proto *next; diff --git a/list.h b/list.h index a1dcd82d8..17aab415b 100644 --- a/list.h +++ b/list.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_LIST_H diff --git a/logging.c b/logging.c index 6c17e49fa..c9756dd8e 100644 --- a/logging.c +++ b/logging.c @@ -57,10 +57,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static void do_syslog __P((int, char *)); static void do_logfile __P((char *)); static void send_mail __P((char *)); diff --git a/logging.h b/logging.h index 0d8e7c8ea..e8e5d8b6b 100644 --- a/logging.h +++ b/logging.h @@ -13,8 +13,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _LOGGING_H diff --git a/match.c b/match.c index 66d07d5d5..8bfbdf9a1 100644 --- a/match.c +++ b/match.c @@ -93,10 +93,6 @@ # include "nonunix.h" #endif /* USING_NONUNIX_GROUPS */ -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static struct member_list empty; static int command_matches_dir __P((char *, size_t)); diff --git a/memrchr.c b/memrchr.c index 11cc34eae..5ca134c08 100644 --- a/memrchr.c +++ b/memrchr.c @@ -18,10 +18,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #include #include diff --git a/missing.h b/missing.h index d6e278c49..5e38ede2e 100644 --- a/missing.h +++ b/missing.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_MISSING_H diff --git a/mkinstalldirs b/mkinstalldirs index d878877aa..0330343d6 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -4,8 +4,6 @@ # Created: 1993-05-16 # Public domain -# $Sudo$ - umask 022 errstatus=0 dirmode="" diff --git a/mkstemp.c b/mkstemp.c index c126383fb..8a6108712 100644 --- a/mkstemp.c +++ b/mkstemp.c @@ -31,10 +31,6 @@ #include "sudo.h" -#ifndef lint -static const char rcsid[] = "$Sudo$"; -#endif /* not lint */ - static unsigned int get_random __P((void)); static void seed_random __P((void)); diff --git a/mon_systrace.c b/mon_systrace.c index e8ccb6402..4afc05a39 100644 --- a/mon_systrace.c +++ b/mon_systrace.c @@ -44,10 +44,6 @@ #include "sudo.h" #include "mon_systrace.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Open the systrace device and return the fd or -1 on failure. */ diff --git a/nanosleep.c b/nanosleep.c index 2f34130e1..24aca7579 100644 --- a/nanosleep.c +++ b/nanosleep.c @@ -31,10 +31,6 @@ #include "compat.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int nanosleep(ts, rts) const struct timespec *ts; diff --git a/parse.c b/parse.c index fea04dc2d..464416916 100644 --- a/parse.c +++ b/parse.c @@ -48,10 +48,6 @@ #include "lbuf.h" #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* Characters that must be quoted in sudoers */ #define SUDOERS_QUOTED ":\\,=#\"" diff --git a/parse.h b/parse.h index 37ccb4c51..af8179cf5 100644 --- a/parse.h +++ b/parse.h @@ -13,8 +13,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_PARSE_H diff --git a/pathnames.h.in b/pathnames.h.in index 88b3f0336..ccacfb49f 100644 --- a/pathnames.h.in +++ b/pathnames.h.in @@ -17,8 +17,6 @@ * Sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F39502-99-1-0512. - * - * $Sudo$ */ /* diff --git a/pty.c b/pty.c index 4a0b0e357..7d4f15a9d 100644 --- a/pty.c +++ b/pty.c @@ -56,10 +56,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #if defined(HAVE_OPENPTY) int get_pty(master, slave, name, namesz) diff --git a/pwutil.c b/pwutil.c index b062e2424..46c45d01d 100644 --- a/pwutil.c +++ b/pwutil.c @@ -52,10 +52,6 @@ #include "sudo.h" #include "redblack.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * The passwd and group caches. */ diff --git a/redblack.c b/redblack.c index 5f343265b..95ac095b0 100644 --- a/redblack.c +++ b/redblack.c @@ -57,10 +57,6 @@ #include "sudo.h" #include "redblack.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static void rbrepair __P((struct rbtree *, struct rbnode *)); static void rotate_left __P((struct rbtree *, struct rbnode *)); static void rotate_right __P((struct rbtree *, struct rbnode *)); diff --git a/redblack.h b/redblack.h index c1658951a..b1938cada 100644 --- a/redblack.h +++ b/redblack.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ #ifndef _SUDO_REDBLACK_H diff --git a/sample.pam b/sample.pam index e57b5de3a..d56e71249 100644 --- a/sample.pam +++ b/sample.pam @@ -6,8 +6,6 @@ # There are two basic ways to configure PAM, either via pam_stack # or by explicitly specifying the various methods to use. # -# $Sudo$ -# # Here we use pam_stack auth required pam_stack.so service=system-auth account required pam_stack.so service=system-auth diff --git a/sample.sudoers b/sample.sudoers index 319833433..0ef1579ec 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -4,8 +4,6 @@ # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. -# -# $Sudo$ ## # Override built-in defaults diff --git a/sample.syslog.conf b/sample.syslog.conf index f635a814e..2effbab72 100644 --- a/sample.syslog.conf +++ b/sample.syslog.conf @@ -16,8 +16,6 @@ # Syslogd will not create new log files for you, you must first # create the file before syslogd will log to it. Eg. # 'touch /var/log/sudo' -# -# $Sudo$ # This logs successful and failed sudo attempts to the file /var/log/sudo local2.debug /var/log/sudo diff --git a/script.c b/script.c index 2eee52fdf..91c92ad8c 100644 --- a/script.c +++ b/script.c @@ -74,10 +74,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #define SFD_MASTER 0 #define SFD_SLAVE 1 #define SFD_LOG 2 diff --git a/selinux.c b/selinux.c index ac729d265..1e71acefc 100644 --- a/selinux.c +++ b/selinux.c @@ -48,10 +48,6 @@ #include "sudo.h" #include "pathnames.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static security_context_t old_context; static security_context_t new_context; static security_context_t tty_context; diff --git a/sesh.c b/sesh.c index f1a3ac072..3195e25b9 100644 --- a/sesh.c +++ b/sesh.c @@ -29,10 +29,6 @@ #include "compat.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int main (int argc, char **argv) { diff --git a/set_perms.c b/set_perms.c index 06c3b845f..4f3f44900 100644 --- a/set_perms.c +++ b/set_perms.c @@ -51,10 +51,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifdef __TANDEM # define ROOT_UID 65535 #else diff --git a/sigaction.c b/sigaction.c index 5ec81fea8..e34d471c8 100644 --- a/sigaction.c +++ b/sigaction.c @@ -23,10 +23,6 @@ #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - int sigaction(signo, sa, osa) int signo; diff --git a/snprintf.c b/snprintf.c index 449feb575..7ad477469 100644 --- a/snprintf.c +++ b/snprintf.c @@ -78,10 +78,6 @@ #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static int xxxprintf __P((char **, size_t, int, const char *, va_list)); /* diff --git a/strcasecmp.c b/strcasecmp.c index 3ae7a7f0d..d14fdfb38 100644 --- a/strcasecmp.c +++ b/strcasecmp.c @@ -18,10 +18,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Case insensitive string compare routines, same semantics as str[n]cmp() * (assumes ASCII..). diff --git a/strerror.c b/strerror.c index cc30b60a3..cacd3f634 100644 --- a/strerror.c +++ b/strerror.c @@ -24,10 +24,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Map errno -> error string. */ diff --git a/strlcat.c b/strlcat.c index 91c4811f8..97a803b20 100644 --- a/strlcat.c +++ b/strlcat.c @@ -22,10 +22,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Appends src to string dst of size siz (unlike strncat, siz is the diff --git a/strlcpy.c b/strlcpy.c index 2903b0af7..8d301c3a5 100644 --- a/strlcpy.c +++ b/strlcpy.c @@ -21,10 +21,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Copy src to string dst of size siz. At most siz-1 characters * will be copied. Always NUL terminates (unless siz == 0). diff --git a/strsignal.c b/strsignal.c index e83b4f0b7..bca8ec6dd 100644 --- a/strsignal.c +++ b/strsignal.c @@ -20,10 +20,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Get signal description string */ diff --git a/sudo.c b/sudo.c index 3b02f6d66..1b93fabee 100644 --- a/sudo.c +++ b/sudo.c @@ -107,10 +107,6 @@ # include "nonunix.h" #endif -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Prototypes */ diff --git a/sudo.h b/sudo.h index d26e96d06..a181c3cd5 100644 --- a/sudo.h +++ b/sudo.h @@ -17,8 +17,6 @@ * Sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F39502-99-1-0512. - * - * $Sudo$ */ #ifndef _SUDO_SUDO_H diff --git a/sudo.man.in b/sudo.man.in index 4104157f7..f56637c7e 100644 --- a/sudo.man.in +++ b/sudo.man.in @@ -18,7 +18,6 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.\" $Sudo$ .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: diff --git a/sudo.pod b/sudo.pod index bb04234c5..4eb0613c9 100644 --- a/sudo.pod +++ b/sudo.pod @@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects Agency (DARPA) and Air Force Research Laboratory, Air Force Materiel Command, USAF, under agreement number F39502-99-1-0512. -$Sudo$ =pod =head1 NAME diff --git a/sudo_edit.c b/sudo_edit.c index 11c393fbe..04d5d7434 100644 --- a/sudo_edit.c +++ b/sudo_edit.c @@ -55,10 +55,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - extern sigaction_t saved_sa_int, saved_sa_quit, saved_sa_tstp; extern char **environ; diff --git a/sudo_noexec.c b/sudo_noexec.c index 2f4b59957..eff07b9ee 100644 --- a/sudo_noexec.c +++ b/sudo_noexec.c @@ -28,10 +28,6 @@ #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Dummy versions of the execve() family of syscalls. We don't need * to stub out all of them, just the ones that correspond to actual diff --git a/sudo_nss.c b/sudo_nss.c index ed6d6dee7..e77aa627c 100644 --- a/sudo_nss.c +++ b/sudo_nss.c @@ -44,10 +44,6 @@ #include "sudo.h" #include "lbuf.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - extern struct sudo_nss sudo_nss_file; #ifdef HAVE_LDAP extern struct sudo_nss sudo_nss_ldap; diff --git a/sudo_nss.h b/sudo_nss.h index 091414176..f036add79 100644 --- a/sudo_nss.h +++ b/sudo_nss.h @@ -12,8 +12,6 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * $Sudo$ */ struct lbuf; diff --git a/sudo_usage.h.in b/sudo_usage.h.in index f8c81f8d9..aeccc21ed 100644 --- a/sudo_usage.h.in +++ b/sudo_usage.h.in @@ -14,8 +14,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $Sudo$ */ #ifndef _SUDO_USAGE_H diff --git a/sudoers.ldap.man.in b/sudoers.ldap.man.in index f9a37ddbd..9096900c3 100644 --- a/sudoers.ldap.man.in +++ b/sudoers.ldap.man.in @@ -14,7 +14,6 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Sudo$ .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: diff --git a/sudoers.ldap.pod b/sudoers.ldap.pod index 9da13cc85..5a079c178 100644 --- a/sudoers.ldap.pod +++ b/sudoers.ldap.pod @@ -14,7 +14,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -$Sudo$ =pod =head1 NAME diff --git a/sudoers.man.in b/sudoers.man.in index 6df75dd95..ab165962f 100644 --- a/sudoers.man.in +++ b/sudoers.man.in @@ -18,7 +18,6 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.\" $Sudo$ .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: diff --git a/sudoers.pod b/sudoers.pod index d23396993..d1cfea79c 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects Agency (DARPA) and Air Force Research Laboratory, Air Force Materiel Command, USAF, under agreement number F39502-99-1-0512. -$Sudo$ =pod =head1 NAME diff --git a/sudoers2ldif b/sudoers2ldif index 4328cfcd8..0fe0ad15b 100644 --- a/sudoers2ldif +++ b/sudoers2ldif @@ -5,8 +5,6 @@ use strict; # Converts a sudoers file to LDIF format in prepration for loading into # the LDAP server. # -# $Sudo$ -# # BUGS: # Does not yet handle multiple lines with : in them diff --git a/sudoreplay.c b/sudoreplay.c index 638fc35d8..a67024a49 100644 --- a/sudoreplay.c +++ b/sudoreplay.c @@ -88,10 +88,6 @@ #include "error.h" #include "missing.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* For getopt(3) */ extern char *optarg; extern int optind; diff --git a/sudoreplay.man.in b/sudoreplay.man.in index 40ba8ddfc..93a1a82cf 100644 --- a/sudoreplay.man.in +++ b/sudoreplay.man.in @@ -13,7 +13,6 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Sudo$ .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: diff --git a/sudoreplay.pod b/sudoreplay.pod index fb3bef399..cf2f29c2c 100644 --- a/sudoreplay.pod +++ b/sudoreplay.pod @@ -13,7 +13,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -$Sudo$ =pod =head1 NAME diff --git a/term.c b/term.c index f8e4c64a6..221a28474 100644 --- a/term.c +++ b/term.c @@ -50,10 +50,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef TCSASOFT # define TCSASOFT 0 #endif diff --git a/testsudoers.c b/testsudoers.c index edadb5f66..a551be55f 100644 --- a/testsudoers.c +++ b/testsudoers.c @@ -70,11 +70,6 @@ # include "emul/fnmatch.h" #endif /* HAVE_FNMATCH */ -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - - /* * Globals */ diff --git a/tgetpass.c b/tgetpass.c index e668ae430..3c51f2862 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -56,10 +56,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static volatile sig_atomic_t signo; static void handler __P((int)); diff --git a/timestr.c b/timestr.c index aaa004e1c..3b2a18dd7 100644 --- a/timestr.c +++ b/timestr.c @@ -30,10 +30,6 @@ #include "compat.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - char *get_timestr __P((time_t, int)); /* diff --git a/toke.c b/toke.c index ec0e75721..c342c8643 100644 --- a/toke.c +++ b/toke.c @@ -1416,10 +1416,6 @@ char *yytext; #include "parse.h" #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - extern YYSTYPE yylval; extern int parse_error; int sudolineno = 1; diff --git a/toke.l b/toke.l index 3a3027fc0..23f70f9b0 100644 --- a/toke.l +++ b/toke.l @@ -71,10 +71,6 @@ #include "parse.h" #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - extern YYSTYPE yylval; extern int parse_error; int sudolineno = 1; diff --git a/utimes.c b/utimes.c index 621392338..84f4c433c 100644 --- a/utimes.c +++ b/utimes.c @@ -31,10 +31,6 @@ #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef HAVE_UTIMES /* * Emulate utimes() via utime() diff --git a/visudo.c b/visudo.c index 71987b141..ae2028aec 100644 --- a/visudo.c +++ b/visudo.c @@ -86,10 +86,6 @@ #include "redblack.h" #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - struct sudoersfile { char *path; char *tpath; diff --git a/visudo.man.in b/visudo.man.in index 509020ccc..c5e92779b 100644 --- a/visudo.man.in +++ b/visudo.man.in @@ -18,7 +18,6 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.\" $Sudo$ .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: diff --git a/visudo.pod b/visudo.pod index 37953718f..474b72d3d 100644 --- a/visudo.pod +++ b/visudo.pod @@ -18,7 +18,6 @@ Sponsored in part by the Defense Advanced Research Projects Agency (DARPA) and Air Force Research Laboratory, Air Force Materiel Command, USAF, under agreement number F39502-99-1-0512. -$Sudo$ =pod =head1 NAME diff --git a/zero_bytes.c b/zero_bytes.c index 4affc6b17..7391780aa 100644 --- a/zero_bytes.c +++ b/zero_bytes.c @@ -19,10 +19,6 @@ #include #include -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Like bzero(3) but with a volatile pointer. The hope is that * the compiler will not be able to optimize away this function.