]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
minor changes so it compiles with pre-ansi compiler;
[ppp.git] / pppd / pppd.h
index 3154360016b96d554c57aef6ccab05ce7ec3dbc6..2388b7859a7fdb409022467044e4ce7ffc77b781 100644 (file)
@@ -16,7 +16,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * $Id: pppd.h,v 1.26 1999/03/02 05:59:22 paulus Exp $
+ * $Id: pppd.h,v 1.28 1999/03/08 05:34:45 paulus Exp $
  */
 
 /*
@@ -116,7 +116,6 @@ extern int  privileged;     /* We were run by real-uid root */
 extern int     need_holdoff;   /* Need holdoff period after link terminates */
 extern char    **script_env;   /* Environment variables for scripts */
 extern int     detached;       /* Have detached from controlling tty */
-extern int     uid;            /* Real user ID of the user running pppd */
 
 /*
  * Variables set by command-line options.
@@ -245,6 +244,7 @@ int fmtmsg __P((char *, int, char *, ...));         /* sprintf++ */
 int vfmtmsg __P((char *, int, char *, va_list));       /* vsprintf++ */
 void script_setenv __P((char *, char *));      /* set script env var */
 void script_unsetenv __P((char *));            /* unset script env var */
+void hangup_modem __P((int));  /* Make modem hang up */
 
 /* Procedures exported from auth.c */
 void link_required __P((int));   /* we are starting to use the link */
@@ -346,7 +346,6 @@ void logwtmp __P((const char *, const char *, const char *));
                                /* Write entry to wtmp file */
 int  get_host_seed __P((void));        /* Get host-dependent random number seed */
 int  have_route_to __P((u_int32_t)); /* Check if route to addr exists */
-void hangup_modem __P((int));  /* Make modem hang up */
 #ifdef PPP_FILTER
 int  set_filters __P((struct bpf_program *pass, struct bpf_program *active));
                                /* Set filter programs in kernel */