diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 07:02:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 07:02:00 +0000 |
commit | 029c374c9c2617627b90b7585b6722113cd760a4 (patch) | |
tree | 64e4e41c2c61990e65e413e912b324a6eda3ea58 /cpukit/libnetworking/libc/res_comp.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-029c374c9c2617627b90b7585b6722113cd760a4.tar.bz2 |
Stop using old-style function definitions.
Diffstat (limited to 'cpukit/libnetworking/libc/res_comp.c')
-rw-r--r-- | cpukit/libnetworking/libc/res_comp.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/cpukit/libnetworking/libc/res_comp.c b/cpukit/libnetworking/libc/res_comp.c index 6b85e02004..7240e56081 100644 --- a/cpukit/libnetworking/libc/res_comp.c +++ b/cpukit/libnetworking/libc/res_comp.c @@ -148,8 +148,7 @@ dn_skipname(const u_char *ptr, const u_char *eom) { #define domainchar(c) ((c) > 0x20 && (c) < 0x7f) int -res_hnok(dn) - const char *dn; +res_hnok(const char *dn) { int ppch = '\0', pch = PERIOD, ch = *dn++; @@ -178,8 +177,7 @@ res_hnok(dn) * but must otherwise be as a host name. */ int -res_ownok(dn) - const char *dn; +res_ownok(const char *dn) { if (asterchar(dn[0])) { if (periodchar(dn[1])) @@ -195,8 +193,7 @@ res_ownok(dn) * label, but the rest of the name has to look like a host name. */ int -res_mailok(dn) - const char *dn; +res_mailok(const char *dn) { int ch, escaped = 0; @@ -225,8 +222,7 @@ res_mailok(dn) * recommendations. */ int -res_dnok(dn) - const char *dn; +res_dnok(const char *dn) { int ch; |