summaryrefslogtreecommitdiffstats
path: root/usr.bin/fstat/fstat.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-02 21:04:09 +0000
committerderaadt <deraadt@openbsd.org>2003-07-02 21:04:09 +0000
commit6ff29e28bbbbaec691056c83d04f54ae2fabb42f (patch)
tree401937beb1cc5139ca7d91578f12c63e5a52a78e /usr.bin/fstat/fstat.c
parentioctlname() proto (diff)
downloadwireguard-openbsd-6ff29e28bbbbaec691056c83d04f54ae2fabb42f.tar.xz
wireguard-openbsd-6ff29e28bbbbaec691056c83d04f54ae2fabb42f.zip
protos
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-rw-r--r--usr.bin/fstat/fstat.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index 47fe4b4e13e..c4a5eeab5b3 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fstat.c,v 1.46 2003/06/28 16:49:44 deraadt Exp $ */
+/* $OpenBSD: fstat.c,v 1.47 2003/07/02 21:04:10 deraadt Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)fstat.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$OpenBSD: fstat.c,v 1.46 2003/06/28 16:49:44 deraadt Exp $";
+static char *rcsid = "$OpenBSD: fstat.c,v 1.47 2003/07/02 21:04:10 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -160,8 +160,10 @@ void vtrans(struct vnode *, int, int, off_t);
int getfname(char *);
void pipetrans(struct pipe *, int);
void kqueuetrans(struct kqueue *, int);
-void cryptotrans(void *, int i);
-void systracetrans(struct fsystrace *, int i);
+void cryptotrans(void *, int);
+void systracetrans(struct fsystrace *, int);
+char *getmnton(struct mount *);
+const char *inet6_addrstr(struct in6_addr *);
int
main(int argc, char *argv[])
@@ -398,7 +400,7 @@ vtrans(struct vnode *vp, int i, int flag, off_t offset)
struct vnode vn;
struct filestat fst;
char rw[3], mode[17];
- char *badtype = NULL, *filename, *getmnton(struct mount *);
+ char *badtype = NULL, *filename;
filename = badtype = NULL;
if (!KVM_READ(vp, &vn, sizeof (struct vnode))) {