commit - 0c148046ed2d597f9eca97e03c8a0592016c8c10
commit + e42882dc96325652ff553838e560e6901b5d7977
blob - 4502751364cb546f3723327715f7afd19051a9ce
blob + 33088925d68b4db9c93f48e1ef5ae5c50770f3ed
--- src/lib9/_p9dialparse.c
+++ src/lib9/_p9dialparse.c
}
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
#undef sun
#define sun sockun
-extern int _p9dialparse(char*, char**, char**, u32int*, int*);
int
_p9netfd(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
#include <sys/un.h>
#include <netdb.h>
-
-extern int _p9dialparse(char*, char**, char**, u32int*, int*);
#undef unix
int
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;
}