aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-28 20:12:18 +0000
committerrsc <devnull@localhost>2006-02-28 20:12:18 +0000
commitc77223280246ddb86def848bb3e24bf6ebe90185 (patch)
tree5ac10bf7b8e122841b1da30dba8db9ece7a4516c /src/cmd/upas
parent23fdde49f133a4c443fd8d04c710496826f1f54a (diff)
downloadplan9port-c77223280246ddb86def848bb3e24bf6ebe90185.tar.gz
plan9port-c77223280246ddb86def848bb3e24bf6ebe90185.tar.bz2
plan9port-c77223280246ddb86def848bb3e24bf6ebe90185.zip
cannot say isnumber
Diffstat (limited to 'src/cmd/upas')
-rw-r--r--src/cmd/upas/nfs/a.h14
-rw-r--r--src/cmd/upas/nfs/fs.c2
2 files changed, 10 insertions, 6 deletions
diff --git a/src/cmd/upas/nfs/a.h b/src/cmd/upas/nfs/a.h
index 3c81deb0..7e5e8121 100644
--- a/src/cmd/upas/nfs/a.h
+++ b/src/cmd/upas/nfs/a.h
@@ -22,11 +22,6 @@ void mailthread(void (*fn)(void*), void*);
void warn(char*, ...);
-#define esmprint smprint
-#define emalloc(n) mallocz(n, 1)
-#define erealloc realloc
-#define estrdup strdup
-
enum
{
NoEncoding,
@@ -40,3 +35,12 @@ char* tcs(char*, char*);
char* unrfc2047(char*);
extern Imap *imap;
+
+#undef isnumber
+#define isnumber upas_isnumber
+
+#define esmprint smprint
+#define emalloc(n) mallocz(n, 1)
+#define erealloc realloc
+#define estrdup strdup
+
diff --git a/src/cmd/upas/nfs/fs.c b/src/cmd/upas/nfs/fs.c
index eda3d666..c9cdd99b 100644
--- a/src/cmd/upas/nfs/fs.c
+++ b/src/cmd/upas/nfs/fs.c
@@ -222,7 +222,7 @@ fsattach(Req *r)
respond(r, nil);
}
-int
+static int
isnumber(char *s)
{
int n;