From 8a0b43005ad9ea011b80d66e32b46fb430ddaffb Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 1 Dec 2005 20:43:44 +0000 Subject: Hide mostly used functions --- libc/inet/getservice.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc/inet/getservice.c') diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c index a8279e4db..d5402ba3e 100644 --- a/libc/inet/getservice.c +++ b/libc/inet/getservice.c @@ -239,14 +239,14 @@ int getservbyname_r(const char *name, const char *proto, LOCK; setservent(serv_stayopen); while (!(ret=getservent_r(result_buf, buf, buflen, result))) { - if (strcmp(name, result_buf->s_name) == 0) + if (__strcmp(name, result_buf->s_name) == 0) goto gotname; for (cp = result_buf->s_aliases; *cp; cp++) - if (strcmp(name, *cp) == 0) + if (__strcmp(name, *cp) == 0) goto gotname; continue; gotname: - if (proto == 0 || strcmp(result_buf->s_proto, proto) == 0) + if (proto == 0 || __strcmp(result_buf->s_proto, proto) == 0) break; } if (!serv_stayopen) @@ -266,7 +266,7 @@ int getservbyport_r(int port, const char *proto, while (!(ret=getservent_r(result_buf, buf, buflen, result))) { if (result_buf->s_port != port) continue; - if (proto == 0 || strcmp(result_buf->s_proto, proto) == 0) + if (proto == 0 || __strcmp(result_buf->s_proto, proto) == 0) break; } if (!serv_stayopen) -- cgit v1.2.3