diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-12 18:57:58 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-12 18:57:58 +0000 |
commit | c4d4a99d31762beef936f34571330923e9300da9 (patch) | |
tree | c116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/libutil | |
parent | 6657f01bfd009bbf4ec0481a17712259abf8ea77 (diff) | |
download | FreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.zip FreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.tar.gz |
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/pty.c | 1 | ||||
-rw-r--r-- | lib/libutil/setproctitle.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index 515ff9e..b00d687 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -100,6 +100,7 @@ openpty(amaster, aslave, name, termp, winp) return (-1); } +int forkpty(amaster, name, termp, winp) int *amaster; char *name; diff --git a/lib/libutil/setproctitle.c b/lib/libutil/setproctitle.c index 08efa99..1f9f4b5 100644 --- a/lib/libutil/setproctitle.c +++ b/lib/libutil/setproctitle.c @@ -14,7 +14,7 @@ * 3. Absolutely no warranty of function or purpose is made by the author * Peter Wemm. * - * $Id: setproctitle.c,v 1.1 1995/12/26 22:50:08 peter Exp $ + * $Id: setproctitle.c,v 1.2 1996/02/24 14:37:29 peter Exp $ */ #include <sys/types.h> @@ -67,7 +67,6 @@ setproctitle(fmt, va_alist) va_dcl #endif { - char *p; static char buf[SPT_BUFSIZE]; static char *ps_argv[2]; va_list ap; |