diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 2010-04-07 06:35:52 -0400 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 2010-04-07 06:35:52 -0400 |
commit | e07c84b2d774062d049951e7ddd06e3ea66241f5 (patch) | |
tree | 20c98014b30fb81d12fe762d429dda2bed4893f3 | |
parent | 35b0ce1dc73f25777fd36b8b36e479d90dfad956 (diff) | |
download | sudo-e07c84b2d774062d049951e7ddd06e3ea66241f5.tar.gz |
Remove $Sudo$ tags
-rw-r--r-- | Makefile.binary.in | 2 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | alloc.c | 4 | ||||
-rw-r--r-- | auth/afs.c | 4 | ||||
-rw-r--r-- | auth/aix_auth.c | 4 | ||||
-rw-r--r-- | auth/bsdauth.c | 4 | ||||
-rw-r--r-- | auth/dce.c | 4 | ||||
-rw-r--r-- | auth/fwtk.c | 4 | ||||
-rw-r--r-- | auth/kerb4.c | 4 | ||||
-rw-r--r-- | auth/kerb5.c | 4 | ||||
-rw-r--r-- | auth/pam.c | 4 | ||||
-rw-r--r-- | auth/passwd.c | 4 | ||||
-rw-r--r-- | auth/rfc1938.c | 4 | ||||
-rw-r--r-- | auth/secureware.c | 4 | ||||
-rw-r--r-- | auth/securid.c | 4 | ||||
-rw-r--r-- | auth/securid5.c | 4 | ||||
-rw-r--r-- | auth/sia.c | 4 | ||||
-rw-r--r-- | auth/sudo_auth.c | 4 | ||||
-rw-r--r-- | auth/sudo_auth.h | 2 | ||||
-rw-r--r-- | check.c | 4 | ||||
-rw-r--r-- | closefrom.c | 4 | ||||
-rw-r--r-- | compat.h | 2 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | defaults.c | 4 | ||||
-rw-r--r-- | defaults.h | 2 | ||||
-rw-r--r-- | emul/search.h | 2 | ||||
-rw-r--r-- | emul/timespec.h | 2 | ||||
-rw-r--r-- | env.c | 4 | ||||
-rw-r--r-- | err.c | 4 | ||||
-rw-r--r-- | fileops.c | 4 | ||||
-rw-r--r-- | find_path.c | 4 | ||||
-rw-r--r-- | getcwd.c | 4 | ||||
-rw-r--r-- | getprogname.c | 4 | ||||
-rw-r--r-- | getspwuid.c | 4 | ||||
-rw-r--r-- | gettime.c | 4 | ||||
-rw-r--r-- | goodpath.c | 4 | ||||
-rw-r--r-- | ins_2001.h | 2 | ||||
-rw-r--r-- | ins_classic.h | 2 | ||||
-rw-r--r-- | ins_csops.h | 2 | ||||
-rw-r--r-- | ins_goons.h | 2 | ||||
-rw-r--r-- | insults.h | 2 | ||||
-rw-r--r-- | interfaces.c | 5 | ||||
-rw-r--r-- | interfaces.h | 2 | ||||
-rw-r--r-- | ldap.c | 4 | ||||
-rw-r--r-- | lex.yy.c | 4 | ||||
-rw-r--r-- | logging.c | 4 | ||||
-rw-r--r-- | lsearch.c | 3 | ||||
-rw-r--r-- | memrchr.c | 7 | ||||
-rwxr-xr-x | mkinstalldirs | 2 | ||||
-rw-r--r-- | mkstemp.c | 4 | ||||
-rw-r--r-- | parse.c | 4 | ||||
-rw-r--r-- | parse.h | 2 | ||||
-rw-r--r-- | parse.lex | 4 | ||||
-rw-r--r-- | parse.yacc | 4 | ||||
-rw-r--r-- | pathnames.h.in | 2 | ||||
-rw-r--r-- | selinux.c | 4 | ||||
-rw-r--r-- | sesh.c | 4 | ||||
-rw-r--r-- | set_perms.c | 4 | ||||
-rw-r--r-- | sigaction.c | 4 | ||||
-rw-r--r-- | snprintf.c | 4 | ||||
-rw-r--r-- | strcasecmp.c | 4 | ||||
-rw-r--r-- | strerror.c | 4 | ||||
-rw-r--r-- | strlcat.c | 5 | ||||
-rw-r--r-- | strlcpy.c | 4 | ||||
-rw-r--r-- | sudo.c | 4 | ||||
-rw-r--r-- | sudo.h | 2 | ||||
-rw-r--r-- | sudo.man.in | 1 | ||||
-rw-r--r-- | sudo.pod | 1 | ||||
-rw-r--r-- | sudo.tab.c | 4 | ||||
-rw-r--r-- | sudo_edit.c | 4 | ||||
-rw-r--r-- | sudo_noexec.c | 4 | ||||
-rw-r--r-- | sudoers.man.in | 1 | ||||
-rw-r--r-- | sudoers.pod | 1 | ||||
-rw-r--r-- | sudoers2ldif | 2 | ||||
-rw-r--r-- | testsudoers.c | 5 | ||||
-rw-r--r-- | tgetpass.c | 4 | ||||
-rw-r--r-- | utimes.c | 4 | ||||
-rw-r--r-- | version.h | 2 | ||||
-rw-r--r-- | visudo.c | 4 | ||||
-rw-r--r-- | visudo.man.in | 1 | ||||
-rw-r--r-- | visudo.pod | 1 | ||||
-rw-r--r-- | zero_bytes.c | 4 |
82 files changed, 0 insertions, 274 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 f001a22a7..f58bb92ff 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,8 +20,6 @@ # # @configure_input@ # -# $Sudo$ -# #### Start of system configuration section. #### @@ -52,10 +52,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/auth/afs.c b/auth/afs.c index a12e3c398..ed635c48f 100644 --- a/auth/afs.c +++ b/auth/afs.c @@ -50,10 +50,6 @@ #include <afs/stds.h> #include <afs/kautils.h> -#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 316c83b68..aee52505d 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 437b44b50..e02f6ec44 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 1ed7e8c44..972b6e175 100644 --- a/auth/fwtk.c +++ b/auth/fwtk.c @@ -54,10 +54,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 284a2392d..ea097f7e9 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 644d572d4..26fcb14c6 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 2e7c6dfcf..6d6827bc5 100644 --- a/auth/pam.c +++ b/auth/pam.c @@ -71,10 +71,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 ce7d66941..ab97b5429 100644 --- a/auth/rfc1938.c +++ b/auth/rfc1938.c @@ -68,10 +68,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 6b022567e..98beedf3d 100644 --- a/auth/securid.c +++ b/auth/securid.c @@ -58,10 +58,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 1a4ad23ab..78e8920f3 100644 --- a/auth/securid5.c +++ b/auth/securid5.c @@ -60,10 +60,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 415f0d8e9..62cf64272 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 11860bafd..0afff3d4c 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 a26e76c11..ec3c893af 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 @@ -62,10 +62,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 9e28a4fc8..4885eec31 100644 --- a/closefrom.c +++ b/closefrom.c @@ -48,10 +48,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 @@ -16,8 +16,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 c3291ae67..8130fd9f4 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-2007 Todd C. Miller <Todd.Miller@courtesan.com> dnl diff --git a/defaults.c b/defaults.c index 3e50d3171..0b3525d68 100644 --- a/defaults.c +++ b/defaults.c @@ -51,10 +51,6 @@ #include "sudo.h" -#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 a30948c35..bb28cb8df 100644 --- a/defaults.h +++ b/defaults.h @@ -16,8 +16,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: defaults.h,v 1.28 2004/02/13 21:36:43 millert Exp $ */ #ifndef _SUDO_DEFAULTS_H diff --git a/emul/search.h b/emul/search.h index 4123e2ade..e4a235596 100644 --- a/emul/search.h +++ b/emul/search.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: search.h,v 1.9 2004/02/13 21:36:49 millert Exp $ */ #ifndef _SEARCH_H 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 @@ -51,10 +51,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Flags used in rebuild_env() */ @@ -42,10 +42,6 @@ #include <compat.h> #include "emul/err.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - void #ifdef __STDC__ err(int eval, const char *fmt, ...) @@ -40,10 +40,6 @@ #include "sudo.h" -#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 c18a64ab4..cd2dcaacc 100644 --- a/find_path.c +++ b/find_path.c @@ -50,10 +50,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 @@ -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 <config.h> #include <compat.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - const char * getprogname() { diff --git a/getspwuid.c b/getspwuid.c index 15cd297d2..07a265903 100644 --- a/getspwuid.c +++ b/getspwuid.c @@ -69,10 +69,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Global variables (yuck) */ @@ -28,10 +28,6 @@ #include <compat.h> -#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/ins_2001.h b/ins_2001.h index 8e3ff46b8..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: ins_2001.h,v 1.29 2004/02/13 21:36:43 millert Exp $ */ #ifndef _SUDO_INS_2001_H diff --git a/ins_classic.h b/ins_classic.h index 4321f64d1..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: ins_classic.h,v 1.30 2004/02/13 21:36:43 millert Exp $ */ #ifndef _SUDO_INS_CLASSIC_H diff --git a/ins_csops.h b/ins_csops.h index f95eb4961..e7c16ffe3 100644 --- a/ins_csops.h +++ b/ins_csops.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_CSOPS_H diff --git a/ins_goons.h b/ins_goons.h index d938321ec..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: ins_goons.h,v 1.29 2004/02/13 21:36:43 millert Exp $ */ #ifndef _SUDO_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: insults.h,v 1.46 2004/02/13 21:36:43 millert Exp $ */ #ifndef _SUDO_INSULTS_H diff --git a/interfaces.c b/interfaces.c index 260d48418..550d62d38 100644 --- a/interfaces.c +++ b/interfaces.c @@ -88,11 +88,6 @@ struct rtentry; #include "sudo.h" #include "interfaces.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - - #ifdef HAVE_GETIFADDRS /* diff --git a/interfaces.h b/interfaces.h index 165a32e57..2dc1edd12 100644 --- a/interfaces.h +++ b/interfaces.h @@ -16,8 +16,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 @@ -70,10 +70,6 @@ #include "sudo.h" #include "parse.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef LINE_MAX # define LINE_MAX 2048 #endif @@ -1479,10 +1479,6 @@ char *yytext; #include "parse.h" #include <sudo.tab.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #undef yywrap /* guard against a yywrap macro */ extern YYSTYPE yylval; @@ -61,10 +61,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 *)); @@ -44,9 +44,6 @@ #if defined(LIBC_SCCS) && !defined(lint) static const char sccsid[] = "@(#)lsearch.c 8.1 (Berkeley) 6/4/93"; #endif /* LIBC_SCCS and not lint */ -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ typedef int (*cmp_fn_t) __P((const VOID *, const VOID *)); static VOID *linear_base __P((const VOID *, const VOID *, size_t *, size_t, @@ -18,13 +18,6 @@ #include <config.h> #include <compat.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - -#include <sys/types.h> -#include <config.h> - /* * Reverse memchr() * Find the last occurrence of 'c' in the buffer 's' of size 'n'. diff --git a/mkinstalldirs b/mkinstalldirs index ce51f6ebb..0330343d6 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -4,8 +4,6 @@ # Created: 1993-05-16 # Public domain -# $Sudo: mkinstalldirs,v 1.5 2003/04/03 15:16:22 millert Exp $ - umask 022 errstatus=0 dirmode="" @@ -50,10 +50,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)); @@ -89,10 +89,6 @@ # include "emul/glob.h" #endif /* HAVE_EXTENDED_GLOB */ -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - static int command_matches_dir __P((char *, size_t)); static int command_matches_glob __P((char *, char *)); static int command_matches_fnmatch __P((char *, char *)); @@ -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 @@ -54,10 +54,6 @@ #include "parse.h" #include <sudo.tab.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #undef yywrap /* guard against a yywrap macro */ extern YYSTYPE yylval; diff --git a/parse.yacc b/parse.yacc index 52c405799..9163efc43 100644 --- a/parse.yacc +++ b/parse.yacc @@ -69,10 +69,6 @@ #include "emul/search.h" #endif /* HAVE_LSEARCH */ -#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/pathnames.h.in b/pathnames.h.in index ea306f178..dfa77665c 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$ */ /* @@ -49,10 +49,6 @@ #include "sudo.h" #include "pathnames.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * This function attempts to revert the relabeling done to the tty. * fd - referencing the opened ttyn @@ -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 558080e6a..6e12a5b0a 100644 --- a/set_perms.c +++ b/set_perms.c @@ -56,10 +56,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 <compat.h> -#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 5e2452b33..90dae6370 100644 --- a/snprintf.c +++ b/snprintf.c @@ -75,10 +75,6 @@ #include <compat.h> -#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 <config.h> #include <compat.h> -#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 <config.h> #include <compat.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Map errno -> error string. */ @@ -22,11 +22,6 @@ #include <config.h> #include <compat.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - - /* * Appends src to string dst of size siz (unlike strncat, siz is the * full size of dst, not space left). At most siz-1 characters @@ -21,10 +21,6 @@ #include <config.h> #include <compat.h> -#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). @@ -104,10 +104,6 @@ #include "interfaces.h" #include "version.h" -#ifndef lint -__unused __unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - /* * Prototypes */ @@ -16,8 +16,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 9a46997fe..bf1d00536 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.16 (Pod::Simple 3.05) .\" .\" Standard preamble: @@ -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.tab.c b/sudo.tab.c index dfe4e7201..8ceee94c9 100644 --- a/sudo.tab.c +++ b/sudo.tab.c @@ -88,10 +88,6 @@ static char yyrcsid[] #include "emul/search.h" #endif /* HAVE_LSEARCH */ -#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/sudo_edit.c b/sudo_edit.c index 25fd1dbc3..db8b6b543 100644 --- a/sudo_edit.c +++ b/sudo_edit.c @@ -61,10 +61,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 <compat.h> -#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/sudoers.man.in b/sudoers.man.in index 19bcbe880..4068a85f3 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.16 (Pod::Simple 3.05) .\" .\" Standard preamble: diff --git a/sudoers.pod b/sudoers.pod index 9960e40e4..74ddb5da1 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 b839235ea..73b5f50b0 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/testsudoers.c b/testsudoers.c index 121071e79..cf6c639a9 100644 --- a/testsudoers.c +++ b/testsudoers.c @@ -74,11 +74,6 @@ # include "emul/fnmatch.h" #endif /* HAVE_FNMATCH */ -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - - /* * Prototypes */ diff --git a/tgetpass.c b/tgetpass.c index 5ab5f47ec..a3d62a811 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -69,10 +69,6 @@ #include "sudo.h" -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef TCSASOFT # define TCSASOFT 0 #endif @@ -31,10 +31,6 @@ #include <compat.h> -#ifndef lint -__unused static const char rcsid[] = "$Sudo$"; -#endif /* lint */ - #ifndef HAVE_UTIMES /* * Emulate utimes() via utime() @@ -16,8 +16,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_VERSION_H @@ -77,10 +77,6 @@ #include "sudo.h" #include "version.h" -#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 a7a9ba249..2e67fa645 100644 --- a/visudo.man.in +++ b/visudo.man.in @@ -17,7 +17,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.16 (Pod::Simple 3.05) .\" .\" Standard preamble: diff --git a/visudo.pod b/visudo.pod index ee92a8561..6dfa6ebb3 100644 --- a/visudo.pod +++ b/visudo.pod @@ -17,7 +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$ =pod =head1 NAME diff --git a/zero_bytes.c b/zero_bytes.c index 30d9d3aac..160354be3 100644 --- a/zero_bytes.c +++ b/zero_bytes.c @@ -19,10 +19,6 @@ #include <config.h> #include <compat.h> -#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. |