diff options
author | brian <brian@FreeBSD.org> | 1998-01-21 02:15:33 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-01-21 02:15:33 +0000 |
commit | 8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337 (patch) | |
tree | 403c2042c52b8c056a6d3fd2cb974c58a8dfa534 /usr.sbin/ppp/id.c | |
parent | 606a03ebe5beda6ea740330bf2295c7adc7f4101 (diff) | |
download | FreeBSD-src-8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337.zip FreeBSD-src-8a229af5668a46fda9ae9c7a0fc18cf5d0f2e337.tar.gz |
Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind
Diffstat (limited to 'usr.sbin/ppp/id.c')
-rw-r--r-- | usr.sbin/ppp/id.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/ppp/id.c b/usr.sbin/ppp/id.c index df37339..af41207 100644 --- a/usr.sbin/ppp/id.c +++ b/usr.sbin/ppp/id.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: id.c,v 1.4 1997/12/21 12:11:05 brian Exp $ + * $Id: id.c,v 1.5 1997/12/27 19:23:12 brian Exp $ */ #include <sys/types.h> @@ -32,7 +32,6 @@ #include <sys/ioctl.h> #include <fcntl.h> #include <stdio.h> -#include <stdlib.h> #include <sysexits.h> #include <unistd.h> @@ -48,17 +47,13 @@ #include "id.h" static int uid; -static int gid; static int euid; -static int egid; void ID0init() { uid = getuid(); - gid = getgid(); euid = geteuid(); - egid = getegid(); } static void |