Skip to content

Commit

Permalink
Fix the rcsid's for non-ansi compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
paulusmack committed Aug 13, 1999
1 parent a8c240d commit a3630de
Show file tree
Hide file tree
Showing 26 changed files with 87 additions and 76 deletions.
7 changes: 5 additions & 2 deletions chat/chat.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,14 @@
* Columbus, OH 43221
* (614)451-1883
*
*
*/

#ifndef __STDC__
#define const
#endif

#ifndef lint
static const char rcsid[] = "$Id: chat.c,v 1.23 1999/08/13 01:54:32 paulus Exp $";
static const char rcsid[] = "$Id: chat.c,v 1.24 1999/08/13 06:46:09 paulus Exp $";
#endif

#include <stdio.h>
Expand Down
6 changes: 3 additions & 3 deletions pppd/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: auth.c,v 1.56 1999/08/12 04:11:20 paulus Exp $";
#endif
#define RCSID "$Id: auth.c,v 1.57 1999/08/13 06:46:10 paulus Exp $"

#include <stdio.h>
#include <stddef.h>
Expand Down Expand Up @@ -78,6 +76,8 @@ static const char rcsid[] = "$Id: auth.c,v 1.56 1999/08/12 04:11:20 paulus Exp $
#endif
#include "pathnames.h"

static const char rcsid[] = RCSID;

/* Bits in scan_authfile return value */
#define NONWILD_SERVER 1
#define NONWILD_CLIENT 2
Expand Down
6 changes: 3 additions & 3 deletions pppd/cbcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: cbcp.c,v 1.9 1999/08/12 04:25:19 paulus Exp $";
#endif
#define RCSID "$Id: cbcp.c,v 1.10 1999/08/13 06:46:10 paulus Exp $"

#include <stdio.h>
#include <string.h>
Expand All @@ -32,6 +30,8 @@ static const char rcsid[] = "$Id: cbcp.c,v 1.9 1999/08/12 04:25:19 paulus Exp $"
#include "fsm.h"
#include "lcp.h"

static const char rcsid[] = RCSID;

/*
* Options.
*/
Expand Down
6 changes: 3 additions & 3 deletions pppd/ccp.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
* OR MODIFICATIONS.
*/

#ifndef lint
static const char rcsid[] = "$Id: ccp.c,v 1.28 1999/08/12 04:25:19 paulus Exp $";
#endif
#define RCSID "$Id: ccp.c,v 1.29 1999/08/13 06:46:11 paulus Exp $"

#include <stdlib.h>
#include <string.h>
Expand All @@ -37,6 +35,8 @@ static const char rcsid[] = "$Id: ccp.c,v 1.28 1999/08/12 04:25:19 paulus Exp $"
#include "ccp.h"
#include <net/ppp-comp.h>

static const char rcsid[] = RCSID;

/*
* Command-line options.
*/
Expand Down
6 changes: 3 additions & 3 deletions pppd/chap.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: chap.c,v 1.22 1999/08/12 04:25:20 paulus Exp $";
#endif
#define RCSID "$Id: chap.c,v 1.23 1999/08/13 06:46:11 paulus Exp $"

/*
* TODO:
Expand All @@ -53,6 +51,8 @@ static const char rcsid[] = "$Id: chap.c,v 1.22 1999/08/12 04:25:20 paulus Exp $
#include "chap_ms.h"
#endif

static const char rcsid[] = RCSID;

/*
* Command-line options.
*/
Expand Down
6 changes: 3 additions & 3 deletions pppd/chap_ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
* You should also use DOMAIN\\USERNAME as described in README.MSCHAP80
*/

#ifndef lint
static const char rcsid[] = "$Id: chap_ms.c,v 1.14 1999/08/12 04:25:20 paulus Exp $";
#endif
#define RCSID "$Id: chap_ms.c,v 1.15 1999/08/13 06:46:12 paulus Exp $"

#ifdef CHAPMS

Expand All @@ -57,6 +55,8 @@ static const char rcsid[] = "$Id: chap_ms.c,v 1.14 1999/08/12 04:25:20 paulus Ex
#include <des.h>
#endif

static const char rcsid[] = RCSID;

typedef struct {
u_char LANManResp[24];
u_char NTResp[24];
Expand Down
6 changes: 3 additions & 3 deletions pppd/demand.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: demand.c,v 1.11 1999/08/12 04:25:20 paulus Exp $";
#endif
#define RCSID "$Id: demand.c,v 1.12 1999/08/13 06:46:12 paulus Exp $";

#include <stdio.h>
#include <stdlib.h>
Expand All @@ -45,6 +43,8 @@ static const char rcsid[] = "$Id: demand.c,v 1.11 1999/08/12 04:25:20 paulus Exp
#include "ipcp.h"
#include "lcp.h"

static const char rcsid[] = RCSID;

char *frame;
int framelen;
int framemax;
Expand Down
9 changes: 5 additions & 4 deletions pppd/eui64.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: eui64.c,v 1.1 1999/08/13 01:58:42 paulus Exp $
* $Id: eui64.c,v 1.2 1999/08/13 06:46:12 paulus Exp $
*/
#ifndef lint
static char rcsid[] = "$Id: eui64.c,v 1.1 1999/08/13 01:58:42 paulus Exp $";
#endif

#define RCSID "$Id: eui64.c,v 1.2 1999/08/13 06:46:12 paulus Exp $"

#include "pppd.h"

static const char rcsid[] = RCSID;

/*
* eui64_ntoa - Make an ascii representation of an interface identifier
*/
Expand Down
6 changes: 3 additions & 3 deletions pppd/fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: fsm.c,v 1.16 1999/08/12 04:25:20 paulus Exp $";
#endif
#define RCSID "$Id: fsm.c,v 1.17 1999/08/13 06:46:12 paulus Exp $"

/*
* TODO:
Expand All @@ -34,6 +32,8 @@ static const char rcsid[] = "$Id: fsm.c,v 1.16 1999/08/12 04:25:20 paulus Exp $"
#include "pppd.h"
#include "fsm.h"

static const char rcsid[] = RCSID;

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));
Expand Down
6 changes: 3 additions & 3 deletions pppd/ipcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: ipcp.c,v 1.48 1999/08/12 04:25:20 paulus Exp $";
#endif
#define RCSID "$Id: ipcp.c,v 1.49 1999/08/13 06:46:12 paulus Exp $"

/*
* TODO:
Expand All @@ -39,6 +37,8 @@ static const char rcsid[] = "$Id: ipcp.c,v 1.48 1999/08/12 04:25:20 paulus Exp $
#include "ipcp.h"
#include "pathnames.h"

static const char rcsid[] = RCSID;

/* 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 */
Expand Down
8 changes: 4 additions & 4 deletions pppd/ipv6cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: ipv6cp.c,v 1.1 1999/08/13 01:58:43 paulus Exp $
* $Id: ipv6cp.c,v 1.2 1999/08/13 06:46:13 paulus Exp $
*
*
* Original version by Inria (www.inria.fr)
* Modified to match RFC2472 by Tommi Komulainen <Tommi.Komulainen@iki.fi>
*/

#ifndef lint
static char rcsid[]="$Id: ipv6cp.c,v 1.1 1999/08/13 01:58:43 paulus Exp $";
#endif
#define RCSID "$Id: ipv6cp.c,v 1.2 1999/08/13 06:46:13 paulus Exp $"

/*
* TODO:
Expand All @@ -56,6 +54,8 @@ static char rcsid[]="$Id: ipv6cp.c,v 1.1 1999/08/13 01:58:43 paulus Exp $";
#include "magic.h"
#include "pathnames.h"

static const char rcsid[] = RCSID;

/* 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 */
Expand Down
7 changes: 4 additions & 3 deletions pppd/ipxcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
*/

#ifdef IPX_CHANGE
#ifndef lint
static const char rcsid[] = "$Id: ipxcp.c,v 1.16 1999/08/12 04:25:21 paulus Exp $";
#endif

#define RCSID "$Id: ipxcp.c,v 1.17 1999/08/13 06:46:14 paulus Exp $"

/*
* TODO:
Expand All @@ -40,6 +39,8 @@ static const char rcsid[] = "$Id: ipxcp.c,v 1.16 1999/08/12 04:25:21 paulus Exp
#include "pathnames.h"
#include "magic.h"

static const char rcsid[] = RCSID;

/* global vars */
ipxcp_options ipxcp_wantoptions[NUM_PPP]; /* Options that we want to request */
ipxcp_options ipxcp_gotoptions[NUM_PPP]; /* Options that peer ack'd */
Expand Down
6 changes: 3 additions & 3 deletions pppd/lcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: lcp.c,v 1.43 1999/08/12 04:25:21 paulus Exp $";
#endif
#define RCSID "$Id: lcp.c,v 1.44 1999/08/13 06:46:14 paulus Exp $";

/*
* TODO:
Expand All @@ -35,6 +33,8 @@ static const char rcsid[] = "$Id: lcp.c,v 1.43 1999/08/12 04:25:21 paulus Exp $"
#include "chap.h"
#include "magic.h"

static const char rcsid[] = RCSID;

/*
* LCP-related command-line options.
*/
Expand Down
6 changes: 3 additions & 3 deletions pppd/magic.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: magic.c,v 1.8 1999/08/12 04:25:22 paulus Exp $";
#endif
#define RCSID "$Id: magic.c,v 1.9 1999/08/13 06:46:15 paulus Exp $"

#include <stdio.h>
#include <unistd.h>
Expand All @@ -29,6 +27,8 @@ static const char rcsid[] = "$Id: magic.c,v 1.8 1999/08/12 04:25:22 paulus Exp $
#include "pppd.h"
#include "magic.h"

static const char rcsid[] = RCSID;

extern long mrand48 __P((void));
extern void srand48 __P((long));

Expand Down
6 changes: 3 additions & 3 deletions pppd/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: main.c,v 1.82 1999/08/13 01:57:35 paulus Exp $";
#endif
#define RCSID "$Id: main.c,v 1.83 1999/08/13 06:46:15 paulus Exp $"

#include <stdio.h>
#include <ctype.h>
Expand Down Expand Up @@ -65,6 +63,8 @@ static const char rcsid[] = "$Id: main.c,v 1.82 1999/08/13 01:57:35 paulus Exp $
#include "atcp.h"
#endif

static const char rcsid[] = RCSID;

/* interface vars */
char ifname[32]; /* Interface name */
int ifunit; /* Interface unit number */
Expand Down
6 changes: 3 additions & 3 deletions pppd/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: options.c,v 1.63 1999/08/13 01:57:36 paulus Exp $";
#endif
#define RCSID "$Id: options.c,v 1.64 1999/08/13 06:46:16 paulus Exp $"

#include <ctype.h>
#include <stdio.h>
Expand Down Expand Up @@ -57,6 +55,8 @@ static const char rcsid[] = "$Id: options.c,v 1.63 1999/08/13 01:57:36 paulus Ex
char *strdup __P((char *));
#endif

static const char rcsid[] = RCSID;

/*
* Option variables and default values.
*/
Expand Down
6 changes: 3 additions & 3 deletions pppd/sys-NeXT.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: sys-NeXT.c,v 1.19 1999/08/12 04:25:22 paulus Exp $";
#endif
#define RCSID "$Id: sys-NeXT.c,v 1.20 1999/08/13 06:46:17 paulus Exp $"

#include <stdio.h>
#include <termios.h>
Expand Down Expand Up @@ -58,6 +56,8 @@ static const char rcsid[] = "$Id: sys-NeXT.c,v 1.19 1999/08/12 04:25:22 paulus E

#include "pppd.h"

static const char rcsid[] = RCSID;

static int initdisc = -1; /* Initial TTY discipline */
static int initfdflags = -1; /* Initial file descriptor flags for fd */
static int ppp_fd = -1; /* fd which is set to PPP discipline */
Expand Down
6 changes: 3 additions & 3 deletions pppd/sys-aix4.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: sys-aix4.c,v 1.21 1999/08/12 04:25:22 paulus Exp $";
#endif
#define RCSID "$Id: sys-aix4.c,v 1.22 1999/08/13 06:46:17 paulus Exp $"

/*
* TODO:
Expand Down Expand Up @@ -54,6 +52,8 @@ static const char rcsid[] = "$Id: sys-aix4.c,v 1.21 1999/08/12 04:25:22 paulus E

#include "pppd.h"

static const char rcsid[] = RCSID;

#ifndef ifr_mtu
#define ifr_mtu ifr_metric
#endif
Expand Down
5 changes: 3 additions & 2 deletions pppd/sys-bsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef lint
static const char rcsid[] = "$Id: sys-bsd.c,v 1.45 1999/08/12 04:25:23 paulus Exp $";
#define RCSID "$Id: sys-bsd.c,v 1.46 1999/08/13 06:46:18 paulus Exp $"
/* $NetBSD: sys-bsd.c,v 1.1.1.3 1997/09/26 18:53:04 christos Exp $ */
#endif

Expand Down Expand Up @@ -74,6 +73,8 @@ static const char rcsid[] = "$Id: sys-bsd.c,v 1.45 1999/08/12 04:25:23 paulus Ex
#include "fsm.h"
#include "ipcp.h"

static const char rcsid[] = RCSID;

static int initdisc = -1; /* Initial TTY discipline for ppp_fd */
static int initfdflags = -1; /* Initial file descriptor flags for ppp_fd */
static int ppp_fd = -1; /* fd which is set to PPP discipline */
Expand Down
Loading

0 comments on commit a3630de

Please sign in to comment.