aboutsummaryrefslogtreecommitdiff
path: root/src/libventi
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-28 23:27:16 +0000
committerrsc <devnull@localhost>2004-12-28 23:27:16 +0000
commite5d47e6e15c72b816315e520a3b7756babf9deb2 (patch)
tree4f626c9101a420a647f9e11eab84e64c13ae5b41 /src/libventi
parent48907e89cb5d541358a8268112fd097845661f29 (diff)
downloadplan9port-e5d47e6e15c72b816315e520a3b7756babf9deb2.tar.gz
plan9port-e5d47e6e15c72b816315e520a3b7756babf9deb2.tar.bz2
plan9port-e5d47e6e15c72b816315e520a3b7756babf9deb2.zip
compiler appeasement
Diffstat (limited to 'src/libventi')
-rw-r--r--src/libventi/file.c2
-rw-r--r--src/libventi/packet.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/libventi/file.c b/src/libventi/file.c
index 43455aba..ac81c2a3 100644
--- a/src/libventi/file.c
+++ b/src/libventi/file.c
@@ -24,7 +24,7 @@ enum
static char EBadEntry[] = "bad VtEntry";
static char ENotDir[] = "walk in non-directory";
static char ETooBig[] = "file too big";
-static char EBadAddr[] = "bad address";
+/* static char EBadAddr[] = "bad address"; */
static char ELabelMismatch[] = "label mismatch";
static int sizetodepth(uvlong s, int psize, int dsize);
diff --git a/src/libventi/packet.c b/src/libventi/packet.c
index 94d3b910..98f697cb 100644
--- a/src/libventi/packet.c
+++ b/src/libventi/packet.c
@@ -75,7 +75,9 @@ static char EPacketSize[] = "bad packet size";
static char EPacketOffset[] = "bad packet offset";
static char EBadSize[] = "bad size";
+#if 0
static void checkpacket(Packet*);
+#endif
/*
* the free list is primarily for speed, but it is
@@ -1006,6 +1008,7 @@ memtail(Mem *m, uchar *wp, int n)
return 0;
}
+#if 0
static void
checkpacket(Packet *p)
{
@@ -1026,4 +1029,4 @@ checkpacket(Packet *p)
if(p->first)
assert(ff==p->last);
}
-
+#endif