commit e42882dc96325652ff553838e560e6901b5d7977 from: rsc date: Wed Jun 16 16:45:09 2004 UTC publish p9dialparse commit - 0c148046ed2d597f9eca97e03c8a0592016c8c10 commit + e42882dc96325652ff553838e560e6901b5d7977 blob - 4502751364cb546f3723327715f7afd19051a9ce blob + 33088925d68b4db9c93f48e1ef5ae5c50770f3ed --- src/lib9/_p9dialparse.c +++ src/lib9/_p9dialparse.c @@ -55,7 +55,7 @@ parseip(char *host, u32int *pip) } int -_p9dialparse(char *addr, char **pnet, char **punix, u32int *phost, int *pport) +p9dialparse(char *addr, char **pnet, char **punix, u32int *phost, int *pport) { char *net, *host, *port, *e; int i; blob - f125b7125f57bee1ce130f2edd70de6dbf84bbab blob + 2fd9b5b129752fbe5467db1d7f097450d656f8e0 --- src/lib9/announce.c +++ src/lib9/announce.c @@ -10,7 +10,6 @@ #undef sun #define sun sockun -extern int _p9dialparse(char*, char**, char**, u32int*, int*); int _p9netfd(char *dir) @@ -50,7 +49,7 @@ p9announce(char *addr, char *dir) if(buf == nil) return -1; - if(_p9dialparse(buf, &net, &unix, &host, &port) < 0){ + if(p9dialparse(buf, &net, &unix, &host, &port) < 0){ free(buf); return -1; } blob - 99d37990621d353e651ce74479544de781cebc58 blob + 732cbb6916b896549eb43bfc7721f0672f722152 --- src/lib9/dial.c +++ src/lib9/dial.c @@ -16,8 +16,6 @@ #include #include - -extern int _p9dialparse(char*, char**, char**, u32int*, int*); #undef unix int @@ -41,7 +39,7 @@ p9dial(char *addr, char *dummy1, char *dummy2, int *du if(buf == nil) return -1; - if(_p9dialparse(buf, &net, &unix, &host, &port) < 0){ + if(p9dialparse(buf, &net, &unix, &host, &port) < 0){ free(buf); return -1; }