forked from Imagelibrary/rtems
cpukit: pppd: fix compile warning
rcsid is defined, but not used. So discard it. Signed-off-by: Peng Fan <van.freenix@gmail.com>
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
@@ -75,8 +73,6 @@
|
||||
#endif
|
||||
#include "pathnames.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/* The name by which the peer authenticated itself to us. */
|
||||
char peer_authname[MAXNAMELEN];
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
* OR MODIFICATIONS.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -35,8 +33,6 @@
|
||||
#include "ccp.h"
|
||||
#include <net/ppp_comp.h>
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/*
|
||||
* Command-line options.
|
||||
*/
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
*/
|
||||
@@ -52,8 +50,6 @@
|
||||
#include "chap_ms.h"
|
||||
#endif
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/*
|
||||
* Command-line options.
|
||||
*/
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$";
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -43,8 +41,6 @@
|
||||
#include "ipcp.h"
|
||||
#include "lcp.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
static unsigned char *frame;
|
||||
static int framelen;
|
||||
static int framemax;
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
* Randomize fsm id on link/init.
|
||||
@@ -32,8 +30,6 @@
|
||||
#include "pppd.h"
|
||||
#include "fsm.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
static void fsm_timeout(void *);
|
||||
static void fsm_rconfreq(fsm *, u_char, u_char *, int);
|
||||
static void fsm_rconfack(fsm *, int, u_char *, int);
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
*/
|
||||
@@ -40,8 +38,6 @@
|
||||
|
||||
#include <rtems/bsdnet/servers.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 */
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$";
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
*/
|
||||
@@ -33,8 +31,6 @@
|
||||
#include "chap.h"
|
||||
#include "magic.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/*
|
||||
* LCP-related command-line options.
|
||||
*/
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -28,8 +26,6 @@
|
||||
#include "pppd.h"
|
||||
#include "magic.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/*
|
||||
* magic_init - Initialize the magic number generator.
|
||||
*
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
@@ -53,8 +51,6 @@
|
||||
|
||||
#include <net/ppp_comp.h>
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/*
|
||||
* Option variables and default values.
|
||||
*/
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
@@ -68,8 +66,6 @@
|
||||
#include "atcp.h"
|
||||
#endif
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
/* interface vars */
|
||||
char ifname[32]; /* Interface name */
|
||||
int pppifunit; /* Interface unit number */
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
@@ -66,9 +64,6 @@ extern rtems_id rtems_pppd_taskid;
|
||||
#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 */
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
*/
|
||||
@@ -29,8 +27,6 @@
|
||||
#include "pppd.h"
|
||||
#include "upap.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
static bool hide_password = true;
|
||||
|
||||
/*
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*/
|
||||
|
||||
#define RCSID "$Id$"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
@@ -44,8 +42,6 @@
|
||||
|
||||
#include "pppd.h"
|
||||
|
||||
static const char rcsid[] = RCSID;
|
||||
|
||||
static void pr_log(void *, char *, ...);
|
||||
static void logit(int, char *, va_list);
|
||||
static void vslp_printer(void *, char *, ...);
|
||||
|
||||
Reference in New Issue
Block a user