From 610e7f3b216acacda32be9ff14f06670ff63b355 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 13 Dec 2001 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2001-12-13 --- port/chan.c | 2 +- port/lib.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/port/chan.c b/port/chan.c index 88c8d14e2a3ac66f729cb9b0d263578231731887..68567cb07fa9c7abd10c3e97193ccf215c44e382 100644 --- a/port/chan.c +++ b/port/chan.c @@ -799,7 +799,7 @@ walk(Chan **cp, char **names, int nnames, int nomount) } else { nc = nil; if(!nomount) - for(i=0; inqid && inqid && iqid[i])) break; if(nc == nil){ /* no mount points along path */ diff --git a/port/lib.h b/port/lib.h index 649ada0ed8e4d3b0e44f02cd17c8eec81edd2dcf..e7005d536068f2e81acc8fe44d0e98709028c9e8 100644 --- a/port/lib.h +++ b/port/lib.h @@ -84,6 +84,7 @@ extern char edata[]; extern char end[]; extern int getfields(char*, char**, int, int, char*); extern int tokenize(char*, char**, int); +extern int dec64(uchar*, int, char*, int); /* * Syscall data structures