diff options
author | ume <ume@FreeBSD.org> | 2005-04-17 14:42:52 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2005-04-17 14:42:52 +0000 |
commit | 04a684b00867c82cd1b39dd8ee860493675f6cb0 (patch) | |
tree | f7b5fffce7297b406c3e93a9f7dfe8f7789c0cc9 /lib/libc/net/getservent.c | |
parent | 2cb9485db2caace1a0b1530fafc8adeb76777620 (diff) | |
download | FreeBSD-src-04a684b00867c82cd1b39dd8ee860493675f6cb0.zip FreeBSD-src-04a684b00867c82cd1b39dd8ee860493675f6cb0.tar.gz |
libc-internal interfaces should have two underscores in front
of their names.
Pointed out by: das
Diffstat (limited to 'lib/libc/net/getservent.c')
-rw-r--r-- | lib/libc/net/getservent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getservent.c b/lib/libc/net/getservent.c index e177256..26c2e28 100644 --- a/lib/libc/net/getservent.c +++ b/lib/libc/net/getservent.c @@ -91,7 +91,7 @@ servdata_keycreate(void) } struct servdata * -_servdata_init(void) +__servdata_init(void) { struct servdata *sd; @@ -326,7 +326,7 @@ setservent(int f) { struct servdata *sd; - if ((sd = _servdata_init()) == NULL) + if ((sd = __servdata_init()) == NULL) return; setservent_r(f, &sd->data); } @@ -336,7 +336,7 @@ endservent(void) { struct servdata *sd; - if ((sd = _servdata_init()) == NULL) + if ((sd = __servdata_init()) == NULL) return; endservent_r(&sd->data); } @@ -346,7 +346,7 @@ getservent(void) { struct servdata *sd; - if ((sd = _servdata_init()) == NULL) + if ((sd = __servdata_init()) == NULL) return (NULL); if (getservent_r(&sd->serv, &sd->data) != 0) return (NULL); |