]> git.ozlabs.org Git - ppp.git/commitdiff
Fix the rcsid's for non-ansi compilers
authorPaul Mackerras <paulus@samba.org>
Fri, 13 Aug 1999 06:46:23 +0000 (06:46 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 13 Aug 1999 06:46:23 +0000 (06:46 +0000)
26 files changed:
chat/chat.c
pppd/auth.c
pppd/cbcp.c
pppd/ccp.c
pppd/chap.c
pppd/chap_ms.c
pppd/demand.c
pppd/eui64.c
pppd/fsm.c
pppd/ipcp.c
pppd/ipv6cp.c
pppd/ipxcp.c
pppd/lcp.c
pppd/magic.c
pppd/main.c
pppd/options.c
pppd/sys-NeXT.c
pppd/sys-aix4.c
pppd/sys-bsd.c
pppd/sys-osf.c
pppd/sys-sunos4.c
pppd/sys-svr4.c
pppd/sys-ultrix.c
pppd/upap.c
pppd/utils.c
pppstats/pppstats.c

index 0015e2bb9fa018be052acd8f2492d92c19d50bda..c9e01e2572851a56f51317a39a1c2cb93c686272 100644 (file)
  *             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>
index d94d4fb325523359a56864de4cf2760259bc87ff..716d849ae8546a51a0cefc12e5bac2fb44873d78 100644 (file)
@@ -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>
@@ -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
index 73cbcf02355110341840ee11c6ae35c9260f1b10..6b68228d0b86b0b8528386d2722541d7dca4c380 100644 (file)
@@ -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>
@@ -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.
  */
index e6b1c1262c80370b08ad5c189199e10bd2f8e1c9..d6da2d56923fe8493eaa7aee6dabf90d3ceb3c3e 100644 (file)
@@ -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>
@@ -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.
  */
index a0e821a1ce20f1d3e31138c1e53582600e857f64..b8a5d0f726ffe9f723d1eaf344a52d45b1591ef9 100644 (file)
@@ -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:
@@ -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.
  */
index 53c1bee2fde4714250145450af1a28be99e75e57..eb0c2c14e5d3b6c7b55fe5840fa5ef236133fd31 100644 (file)
@@ -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
 
@@ -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];
index 86f286b28e2e207473c74b655cc3b0de01aee42d..bb6538cace93d9963459ede30e73b00b14f74e3e 100644 (file)
@@ -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>
@@ -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;
index 6de8e10b688474a9c526580f9ab64e6660bb51ec..dfceeecd8e3e5ad16e5a7edc3e8e716a9c6506eb 100644 (file)
  * 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
  */
index 02640e72d9339182af5d03363b6920f89d5ee971..b5b8148f9a2c5af079212f45193dc98d85963f53 100644 (file)
@@ -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:
@@ -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));
index 763018bbc4ca66009b096d8b2266ac275f13b125..d3682a032b5243a8c7b6625b37bfe5c399f89bae 100644 (file)
@@ -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:
@@ -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 */
index bb7d9a18665e50490ec9032d4538af495344a706..94f2f67e6e945265c79d47c4f051a4ec77e62004 100644 (file)
  * 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: 
@@ -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 */
index 2875de97f3e3b28c29037c34a129ffbc901ed7ad..937dea1095cc55dac734b8173b0cf0e3546b78dd 100644 (file)
@@ -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:
@@ -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 */
index d1be64f43b74e3ca68e9a09a4d80094281e8c46a..95b13b33572f2cd5120dc1c927e8670bae77137c 100644 (file)
@@ -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:
@@ -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.
  */
index fbb5fce4b6b26cd4214e0257d60687265d7f503f..3c70558359b7d0f532dce8b20cc63b8ecbb511e8 100644 (file)
@@ -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>
@@ -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));
 
index a81e81bc486f9e4aefe088f948d9d0c88957683b..4da0b9af4bc73b2eaf9dea34abcea2ec18368938 100644 (file)
@@ -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>
@@ -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 */
index fc65d921b526345e1ac47f1db825ad6f03381514..cb9c2d4a1638f868bdbf130530a8d1f106baeb58 100644 (file)
@@ -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>
@@ -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.
  */
index 3a57a2c1ac072a34cf5ad096923a1afbd6d9bdbe..8df34e55b9f51be0ae96aeb7e69a36f63ecbf4bb 100644 (file)
@@ -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>
@@ -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 */
index 739c31086c22d4a9a7a62f9520d029fb9851d567..c244c3ecad56385a57179cc0d8101b577c95b4e4 100644 (file)
@@ -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:
@@ -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
index c28e324d59e72e15378700fcb190fb777bbea684..f4a7c1efe6a7ee35b72443ae1db21705e7c5d3db 100644 (file)
@@ -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
 
@@ -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 */
index a291a27d099cb78016b8fb6c727abf98be77906b..920b30af1315cadac88fb7003c554e024b7f5184 100644 (file)
@@ -25,9 +25,7 @@
  * OR MODIFICATIONS.
  */
 
-#ifndef lint
-static const char rcsid[] = "$Id: sys-osf.c,v 1.29 1999/08/12 04:25:24 paulus Exp $";
-#endif
+#define RCSID  "$Id: sys-osf.c,v 1.30 1999/08/13 06:46:18 paulus Exp $"
 
 #include <stdio.h>
 #include <stddef.h>
@@ -61,6 +59,8 @@ static const char rcsid[] = "$Id: sys-osf.c,v 1.29 1999/08/12 04:25:24 paulus Ex
 
 #include "pppd.h"
 
+static const char rcsid[] = RCSID;
+
 static int     pppfd;
 static int     fdmuxid = -1;
 static int     iffd;
index 551401d35f252f8a7cf0c57147564833daeea02a..19c233ff7e3f6d8a21020e1a08b8d0e6e5f91cc4 100644 (file)
@@ -25,9 +25,7 @@
  * OR MODIFICATIONS.
  */
 
-#ifndef lint
-static const char rcsid[] = "$Id: sys-sunos4.c,v 1.23 1999/08/12 04:25:24 paulus Exp $";
-#endif
+#define RCSID  "$Id: sys-sunos4.c,v 1.24 1999/08/13 06:46:19 paulus Exp $"
 
 #include <stdio.h>
 #include <stddef.h>
@@ -67,6 +65,8 @@ extern void *alloca();
 #endif
 #endif /*sparc*/
 
+static const char rcsid[] = RCSID;
+
 static int     pppfd;
 static int     fdmuxid = -1;
 static int     iffd;
index 236d82513c0fe1d235fcc5ed6d68d4432ec668be..02643182995039fb27d7a25516e9995b738eca03 100644 (file)
@@ -25,9 +25,7 @@
  * OR MODIFICATIONS.
  */
 
-#ifndef lint
-static const char rcsid[] = "$Id: sys-svr4.c,v 1.32 1999/08/12 04:24:52 paulus Exp $";
-#endif
+#define RCSID  "$Id: sys-svr4.c,v 1.33 1999/08/13 06:46:20 paulus Exp $"
 
 #include <limits.h>
 #include <stdio.h>
@@ -69,6 +67,8 @@ static const char rcsid[] = "$Id: sys-svr4.c,v 1.32 1999/08/12 04:24:52 paulus E
 
 #include "pppd.h"
 
+static const char rcsid[] = RCSID;
+
 static int     pppfd;
 static int     fdmuxid = -1;
 static int     ipfd;
index 99b59467a5230c2da7cb42b793c997898bcf6456..009999eb2026a0b99fe299b04e332e94f150ed7e 100644 (file)
@@ -20,9 +20,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-static const char rcsid[] = "$Id: sys-ultrix.c,v 1.32 1999/08/12 04:25:24 paulus Exp $";
-#endif
+#define RCSID  "$Id: sys-ultrix.c,v 1.33 1999/08/13 06:46:20 paulus Exp $"
 
 /*
  * TODO:
@@ -52,6 +50,8 @@ static const char rcsid[] = "$Id: sys-ultrix.c,v 1.32 1999/08/12 04:25:24 paulus
 
 #include "pppd.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 */
index 53d4a3ce09638a510cba12195246cd349bde1733..693c684f084105ccfc764482129a05c00d188956 100644 (file)
@@ -17,9 +17,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-static const char rcsid[] = "$Id: upap.c,v 1.18 1999/08/12 04:25:25 paulus Exp $";
-#endif
+#define RCSID  "$Id: upap.c,v 1.19 1999/08/13 06:46:21 paulus Exp $"
 
 /*
  * TODO:
@@ -31,6 +29,8 @@ static const char rcsid[] = "$Id: upap.c,v 1.18 1999/08/12 04:25:25 paulus Exp $
 #include "pppd.h"
 #include "upap.h"
 
+static const char rcsid[] = RCSID;
+
 static bool hide_password;
 
 /*
index 43d0b93bfe65cd3970fc1fbce3c786da4095584f..cbab1838523882e6ac0de324498599b4066530be 100644 (file)
@@ -16,9 +16,8 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
-#ifndef lint
-static const char rcsid[] = "$Id: utils.c,v 1.7 1999/08/12 04:25:25 paulus Exp $";
-#endif
+
+#define RCSID  "$Id: utils.c,v 1.8 1999/08/13 06:46:22 paulus Exp $"
 
 #include <stdio.h>
 #include <ctype.h>
@@ -46,6 +45,8 @@ static const char rcsid[] = "$Id: utils.c,v 1.7 1999/08/12 04:25:25 paulus Exp $
 
 #include "pppd.h"
 
+static const char rcsid[] = RCSID;
+
 #if defined(SUNOS4)
 extern char *strerror();
 #endif
index 98ca87ac3a7ac78d7854be734f2f498683c5e8de..d5f74b9911a8b2c133d2bcec4842147583ea3f31 100644 (file)
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef __STDC__
+#define const
+#endif
+
 #ifndef lint
-static const char rcsid[] = "$Id: pppstats.c,v 1.26 1999/08/12 04:25:57 paulus Exp $";
+static const char rcsid[] = "$Id: pppstats.c,v 1.27 1999/08/13 06:46:23 paulus Exp $";
 #endif
 
 #include <stdio.h>