diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libugly/getprotobynumber_r.c')
-rw-r--r-- | mdk-stage1/dietlibc/libugly/getprotobynumber_r.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mdk-stage1/dietlibc/libugly/getprotobynumber_r.c b/mdk-stage1/dietlibc/libugly/getprotobynumber_r.c deleted file mode 100644 index 2ca439fc6..000000000 --- a/mdk-stage1/dietlibc/libugly/getprotobynumber_r.c +++ /dev/null @@ -1,13 +0,0 @@ -#include <string.h> -#include <netdb.h> - -extern int getprotobynumber_r(int proto, - struct protoent *res, char *buf, size_t buflen, - struct protoent **res_sig) { - while (!getprotoent_r(res,buf,buflen,res_sig)) - if (proto==res->p_proto) goto found; - *res_sig=0; -found: - endprotoent(); - return *res_sig?0:-1; -} |