diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-09 16:25:30 +0300 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2017-11-16 15:37:27 -0500 |
commit | 4f62a6570dcd50f97b2c01e95cbb683b3f9d7a7c (patch) | |
tree | 180a62ae4ffe3706c1d344670f5425901b872e77 /usr/src | |
parent | 3078e445fa2468f969d4f787db6f303739fdf820 (diff) | |
download | illumos-gate-4f62a6570dcd50f97b2c01e95cbb683b3f9d7a7c.tar.gz |
8783 pppd: 'rcsid' defined but not used
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/auth.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/cbcp.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/ccp.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/chap.c | 10 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/chap_ms.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/demand.c | 6 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/fsm.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/ipcp.c | 10 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/ipv6cp.c | 6 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/lcp.c | 10 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/magic.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/main.c | 6 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/mschap_test.c | 2 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/multilink.c | 6 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/options.c | 6 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c | 6 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/upap.c | 7 | ||||
-rw-r--r-- | usr/src/cmd/cmd-inet/usr.bin/pppd/utils.c | 7 |
18 files changed, 0 insertions, 124 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/auth.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/auth.c index 9bf6587bde..37244d836f 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/auth.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/auth.c @@ -35,9 +35,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: auth.c,v 1.65 2000/04/15 01:27:10 masputra Exp $" - /* Pull in crypt() definition. */ #define __EXTENSIONS__ @@ -92,10 +89,6 @@ #endif #include "pathnames.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* Bits in scan_authfile return value */ #define NONWILD_SERVER 1 #define NONWILD_CLIENT 2 diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/cbcp.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/cbcp.c index ca5ebab975..4243f9096f 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/cbcp.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/cbcp.c @@ -21,9 +21,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: cbcp.c,v 1.10 1999/08/13 06:46:10 paulus Exp $" - #include <stdio.h> #include <string.h> #include <sys/types.h> @@ -34,10 +31,6 @@ #include "fsm.h" #include "lcp.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* * Options. */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/ccp.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/ccp.c index b3bc84b0e1..e58f9f1831 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/ccp.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/ccp.c @@ -31,9 +31,6 @@ * Copyright (c) 2016 by Delphix. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: ccp.c,v 1.30 2000/04/15 01:27:11 masputra Exp $" - #include <stdlib.h> #include <string.h> @@ -42,10 +39,6 @@ #include "ccp.h" #include <net/ppp-comp.h> -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* * Command-line options. */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/chap.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/chap.c index 707b9f7a71..95d8e18643 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/chap.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/chap.c @@ -36,12 +36,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: chap.c,v 1.24 1999/11/15 01:51:50 paulus Exp $" - -/* - * TODO: - */ - #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -55,10 +49,6 @@ #include "chap_ms.h" #endif -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* * Command-line options. */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/chap_ms.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/chap_ms.c index 21cf5ee114..4b32195f14 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/chap_ms.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/chap_ms.c @@ -40,9 +40,6 @@ * Added MS-CHAPv2 support. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: chap_ms.c,v 1.15 1999/08/13 06:46:12 paulus Exp $" - #if defined(CHAPMS) || defined(CHAPMSV2) #include <stdio.h> @@ -69,10 +66,6 @@ #include "chap_ms.h" #include "md4.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - typedef struct { u_char LANManResp[24]; u_char NTResp[24]; diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/demand.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/demand.c index a5e04eb90b..7a73fecb4a 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/demand.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/demand.c @@ -20,8 +20,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: demand.c,v 1.13 2000/04/15 01:27:11 masputra Exp $" - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -45,10 +43,6 @@ #include "fsm.h" #include "lcp.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - static char *frame; static int framelen; static int framemax; diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/fsm.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/fsm.c index a9ad47660d..cab1ae03a8 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/fsm.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/fsm.c @@ -20,9 +20,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: fsm.c,v 1.17 1999/08/13 06:46:12 paulus Exp $" - /* * TODO: * Randomize fsm id on link/init. @@ -39,10 +36,6 @@ #include "pppd.h" #include "fsm.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - static void fsm_timeout __P((void *)); static void fsm_rconfreq __P((fsm *, int, u_char *, int)); static void fsm_rconfack __P((fsm *, int, u_char *, int)); diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/ipcp.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/ipcp.c index 897df43160..8981db5c04 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/ipcp.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/ipcp.c @@ -23,12 +23,6 @@ * Copyright (c) 2016 by Delphix. All rights reserved. */ -#define RCSID "$Id: ipcp.c,v 1.54 2000/04/15 01:27:11 masputra Exp $" - -/* - * TODO: - */ - #include <stdio.h> #include <string.h> #include <netdb.h> @@ -47,10 +41,6 @@ #include "ipcp.h" #include "pathnames.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* global vars */ ipcp_options ipcp_wantoptions[NUM_PPP]; /* Options that we want to request */ ipcp_options ipcp_gotoptions[NUM_PPP]; /* Options that peer ack'd */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/ipv6cp.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/ipv6cp.c index 71651dbdba..96ac577071 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/ipv6cp.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/ipv6cp.c @@ -98,8 +98,6 @@ * $Id: ipv6cp.c,v 1.9 2000/04/15 01:27:11 masputra Exp $ */ -#define RCSID "$Id: ipv6cp.c,v 1.9 2000/04/15 01:27:11 masputra Exp $" - /* * TODO: * @@ -129,10 +127,6 @@ #include "magic.h" #include "pathnames.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* global vars */ ipv6cp_options ipv6cp_wantoptions[NUM_PPP]; /* Options that we want to request */ ipv6cp_options ipv6cp_gotoptions[NUM_PPP]; /* Options that peer ack'd */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/lcp.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/lcp.c index b4d653c06e..97cc8c1622 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/lcp.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/lcp.c @@ -22,12 +22,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: lcp.c,v 1.54 2000/04/27 03:51:18 masputra Exp $" - -/* - * TODO: - */ - #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -51,10 +45,6 @@ #include "magic.h" #include "patchlevel.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* * Special failure codes for logging link failure reasons. */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/magic.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/magic.c index 09d5086dfe..0fa15f2073 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/magic.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/magic.c @@ -17,9 +17,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: magic.c,v 1.9 1999/08/13 06:46:15 paulus Exp $" - #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -29,10 +26,6 @@ #include "pppd.h" #include "magic.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - #ifdef NO_DRAND48 long mrand48 __P((void)); void srand48 __P((long)); diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/main.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/main.c index 4207ea1712..c3c99a7364 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/main.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/main.c @@ -34,8 +34,6 @@ * Copyright (c) 2016 by Delphix. All rights reserved. */ -#define RCSID "$Id: main.c,v 1.97 2000/04/24 02:54:16 masputra Exp $" - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -86,10 +84,6 @@ #include "atcp.h" #endif -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* interface vars */ char ifname[32]; /* Interface name */ int ifunit = -1; /* Interface unit number */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/mschap_test.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/mschap_test.c index 3202348a32..72b17d65e5 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/mschap_test.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/mschap_test.c @@ -17,8 +17,6 @@ #include "chap.h" #include "chap_ms.h" -#pragma ident "%Z%%M% %I% %E% SMI" - static void show_response(chap_state *cstate, const char *str) { diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/multilink.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/multilink.c index 518a2688aa..3383d582de 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/multilink.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/multilink.c @@ -17,9 +17,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: $" - #include <string.h> #include <ctype.h> #include <stdlib.h> @@ -35,9 +32,6 @@ #ifdef HAVE_MULTILINK #include "tdb.h" #endif -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif #define set_ip_epdisc(ep, addr) ( \ ep->length = 4, \ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/options.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/options.c index f5952e51d8..f3b2ed55d9 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/options.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/options.c @@ -31,8 +31,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: options.c,v 1.74 2000/04/15 01:27:13 masputra Exp $" - #include <ctype.h> #include <stdio.h> #include <errno.h> @@ -66,10 +64,6 @@ char *strdup __P((char *)); #endif -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - /* * Option variables and default values. */ diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c index d728fef890..e7fcb8fae8 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/sys-solaris.c @@ -39,8 +39,6 @@ * OR MODIFICATIONS. */ -#define RCSID "$Id: sys-solaris.c,v 1.2 2000/04/21 01:27:57 masputra Exp $" - #include <limits.h> #include <stdio.h> #include <stddef.h> @@ -89,10 +87,6 @@ #endif /* INET6 */ #include "ccp.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - #define PPPSTRTIMOUT 1 /* Timeout in seconds for ioctl */ #define MAX_POLLFDS 32 #define NMODULES 32 diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/upap.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/upap.c index b9263af55b..585f57d31f 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/upap.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/upap.c @@ -31,19 +31,12 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: upap.c,v 1.23 1999/11/20 05:11:47 paulus Exp $" - #include <stdio.h> #include <string.h> #include "pppd.h" #include "upap.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - static bool hide_password = 1; /* diff --git a/usr/src/cmd/cmd-inet/usr.bin/pppd/utils.c b/usr/src/cmd/cmd-inet/usr.bin/pppd/utils.c index e7410fa87b..d1d12849d4 100644 --- a/usr/src/cmd/cmd-inet/usr.bin/pppd/utils.c +++ b/usr/src/cmd/cmd-inet/usr.bin/pppd/utils.c @@ -31,9 +31,6 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#pragma ident "%Z%%M% %I% %E% SMI" -#define RCSID "$Id: utils.c,v 1.10 2000/03/27 01:36:48 paulus Exp $" - #ifdef __linux__ #define _GNU_SOURCE #endif @@ -63,10 +60,6 @@ #include "pppd.h" -#if !defined(lint) && !defined(_lint) -static const char rcsid[] = RCSID; -#endif - #if defined(SUNOS4) extern char *strerror(); #endif |