summaryrefslogtreecommitdiff
path: root/usr.bin/rdist
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-28 00:00:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-28 00:00:00 +0000
commitd6f987883e262363e2689803a36a7c32736476cc (patch)
tree1158893c08ead8fccdd4ac523d3492f68c4c1cda /usr.bin/rdist
parent94ea65f5c4b7bedff1d6c9caca5363f926955d43 (diff)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r--usr.bin/rdist/child.c19
-rw-r--r--usr.bin/rdist/client.c19
-rw-r--r--usr.bin/rdist/common.c18
-rw-r--r--usr.bin/rdist/distopt.c18
-rw-r--r--usr.bin/rdist/docmd.c18
-rw-r--r--usr.bin/rdist/expand.c19
-rw-r--r--usr.bin/rdist/gram.y20
-rw-r--r--usr.bin/rdist/isexec.c19
-rw-r--r--usr.bin/rdist/lookup.c19
-rw-r--r--usr.bin/rdist/message.c19
-rw-r--r--usr.bin/rdist/rdist.c20
11 files changed, 11 insertions, 197 deletions
diff --git a/usr.bin/rdist/child.c b/usr.bin/rdist/child.c
index 30303e1c365..331d92b9eae 100644
--- a/usr.bin/rdist/child.c
+++ b/usr.bin/rdist/child.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: child.c,v 1.13 2003/06/03 02:56:14 millert Exp $ */
+/* $OpenBSD: child.c,v 1.14 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -31,23 +31,6 @@
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: child.c,v 1.3 1999/11/01 00:20:55 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: child.c,v 1.13 2003/06/03 02:56:14 millert Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)docmd.c 5.1 (Berkeley) 6/6/85";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
/*
* Functions for rdist related to children
*/
diff --git a/usr.bin/rdist/client.c b/usr.bin/rdist/client.c
index f43b0fafd97..930bb6a0508 100644
--- a/usr.bin/rdist/client.c
+++ b/usr.bin/rdist/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.21 2009/02/15 22:20:54 deraadt Exp $ */
+/* $OpenBSD: client.c,v 1.22 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -32,23 +32,6 @@
#include "defs.h"
#include "y.tab.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: client.c,v 1.13 1999/11/01 00:22:14 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: client.c,v 1.21 2009/02/15 22:20:54 deraadt Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)client.c";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
/*
* Routines used in client mode to communicate with remove server.
*/
diff --git a/usr.bin/rdist/common.c b/usr.bin/rdist/common.c
index 564d8d9a7e6..6c8e9d69155 100644
--- a/usr.bin/rdist/common.c
+++ b/usr.bin/rdist/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.22 2008/01/02 17:44:11 chl Exp $ */
+/* $OpenBSD: common.c,v 1.23 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -30,22 +30,6 @@
*/
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: common.c,v 1.8 2001/03/12 18:16:36 kim Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: common.c,v 1.22 2008/01/02 17:44:11 chl Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)common.c";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* !lint */
/*
* Things common to both the client and server.
diff --git a/usr.bin/rdist/distopt.c b/usr.bin/rdist/distopt.c
index d53f765de65..adf341f1513 100644
--- a/usr.bin/rdist/distopt.c
+++ b/usr.bin/rdist/distopt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: distopt.c,v 1.10 2007/02/26 20:57:18 jmc Exp $ */
+/* $OpenBSD: distopt.c,v 1.11 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -30,22 +30,6 @@
*/
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: distopt.c,v 1.5 1999/08/04 15:57:33 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: distopt.c,v 1.10 2007/02/26 20:57:18 jmc Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)distopt.c";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* !lint */
/*
* Dist Option functions
diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c
index c2149515e5e..3db7e91604b 100644
--- a/usr.bin/rdist/docmd.c
+++ b/usr.bin/rdist/docmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: docmd.c,v 1.20 2008/08/10 13:39:09 sobrado Exp $ */
+/* $OpenBSD: docmd.c,v 1.21 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -31,22 +31,6 @@
#include "defs.h"
#include "y.tab.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: docmd.c,v 1.8 2001/03/12 18:42:23 kim Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: docmd.c,v 1.20 2008/08/10 13:39:09 sobrado Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)docmd.c 5.1 (Berkeley) 6/6/85";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
/*
* Functions for rdist that do command (cmd) related activities.
diff --git a/usr.bin/rdist/expand.c b/usr.bin/rdist/expand.c
index 6b5617c0a6d..4e47670778d 100644
--- a/usr.bin/rdist/expand.c
+++ b/usr.bin/rdist/expand.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expand.c,v 1.11 2003/06/03 02:56:14 millert Exp $ */
+/* $OpenBSD: expand.c,v 1.12 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -30,23 +30,6 @@
*/
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: expand.c,v 1.4 1999/08/04 15:57:33 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: expand.c,v 1.11 2003/06/03 02:56:14 millert Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)expand.c 5.2 (Berkeley) 3/28/86";
-
-char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
#define MAXEARGS 2048
#define LC '{'
diff --git a/usr.bin/rdist/gram.y b/usr.bin/rdist/gram.y
index 3edeeab9f5c..097583d2d8c 100644
--- a/usr.bin/rdist/gram.y
+++ b/usr.bin/rdist/gram.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: gram.y,v 1.8 2003/06/03 02:56:14 millert Exp $ */
+/* $OpenBSD: gram.y,v 1.9 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1993 Michael A. Cooper
@@ -33,24 +33,6 @@
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: gram.y,v 1.3 1999/08/04 15:57:33 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: gram.y,v 1.8 2003/06/03 02:56:14 millert Exp $";
-#endif
-
-static char *sccsid __attribute__((__unused__)) =
-"@(#)gram.y 5.2 (Berkeley) 85/06/21";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
-
static struct namelist *addnl __P((struct namelist *, struct namelist *));
static struct namelist *subnl __P((struct namelist *, struct namelist *));
static struct namelist *andnl __P((struct namelist *, struct namelist *));
diff --git a/usr.bin/rdist/isexec.c b/usr.bin/rdist/isexec.c
index 8eaf2bb327b..96ab2ee41ed 100644
--- a/usr.bin/rdist/isexec.c
+++ b/usr.bin/rdist/isexec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isexec.c,v 1.7 2003/06/03 02:56:14 millert Exp $ */
+/* $OpenBSD: isexec.c,v 1.8 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -31,23 +31,6 @@
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: isexec.c,v 1.2 1999/08/04 15:57:33 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: isexec.c,v 1.7 2003/06/03 02:56:14 millert Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)client.c";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
static int _isexec(int);
#if EXE_TYPE == EXE_AOUT
diff --git a/usr.bin/rdist/lookup.c b/usr.bin/rdist/lookup.c
index 90d6e25d6ce..868130c9d8e 100644
--- a/usr.bin/rdist/lookup.c
+++ b/usr.bin/rdist/lookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lookup.c,v 1.12 2003/06/03 02:56:14 millert Exp $ */
+/* $OpenBSD: lookup.c,v 1.13 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -31,23 +31,6 @@
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: lookup.c,v 1.4 1999/08/04 15:57:33 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: lookup.c,v 1.12 2003/06/03 02:56:14 millert Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)lookup.c 5.1 (Berkeley) 6/6/85";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
/* symbol types */
#define VAR 1
#define CONST 2
diff --git a/usr.bin/rdist/message.c b/usr.bin/rdist/message.c
index 2b870f57dca..a622f99b89d 100644
--- a/usr.bin/rdist/message.c
+++ b/usr.bin/rdist/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.17 2007/09/14 14:29:20 chl Exp $ */
+/* $OpenBSD: message.c,v 1.18 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -31,23 +31,6 @@
#include "defs.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: message.c,v 1.5 1999/11/01 00:21:39 christos Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: message.c,v 1.17 2007/09/14 14:29:20 chl Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)common.c";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* !lint */
-
/*
* Message handling functions for both rdist and rdistd.
*/
diff --git a/usr.bin/rdist/rdist.c b/usr.bin/rdist/rdist.c
index a11b89fdda5..d29b47a7209 100644
--- a/usr.bin/rdist/rdist.c
+++ b/usr.bin/rdist/rdist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdist.c,v 1.18 2007/02/26 15:38:04 jmc Exp $ */
+/* $OpenBSD: rdist.c,v 1.19 2009/10/27 23:59:42 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -32,24 +32,6 @@
#include "defs.h"
#include "y.tab.h"
-#ifndef lint
-#if 0
-static char RCSid[] __attribute__((__unused__)) =
-"$From: rdist.c,v 1.6 2001/03/12 18:16:36 kim Exp $";
-#else
-static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: rdist.c,v 1.18 2007/02/26 15:38:04 jmc Exp $";
-#endif
-
-static char sccsid[] __attribute__((__unused__)) =
-"@(#)main.c 5.1 (Berkeley) 6/6/85";
-
-static char copyright[] __attribute__((__unused__)) =
-"@(#) Copyright (c) 1983 Regents of the University of California.\n\
- All rights reserved.\n";
-#endif /* not lint */
-
-
#include <netdb.h>
#include <sys/ioctl.h>