summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/res_comp.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 07:02:00 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-01 07:02:00 +0000
commit029c374c9c2617627b90b7585b6722113cd760a4 (patch)
tree64e4e41c2c61990e65e413e912b324a6eda3ea58 /cpukit/libnetworking/libc/res_comp.c
parent2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-029c374c9c2617627b90b7585b6722113cd760a4.tar.bz2
Stop using old-style function definitions.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/libc/res_comp.c12
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;