diff options
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r-- | resolv/res_debug.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c index 784343994b..68a407a033 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -307,11 +307,8 @@ p_cdname(const u_char *cp, const u_char *msg, FILE *file) { length supplied). */ const u_char * -p_fqnname(cp, msg, msglen, name, namelen) - const u_char *cp, *msg; - int msglen; - char *name; - int namelen; +p_fqnname (const u_char *cp, const u_char *msg, int msglen, char *name, + int namelen) { int n, newlen; @@ -790,9 +787,7 @@ latlon2ul (const char **latlonstrptr, int *which) /* converts a zone file representation in a string to an RDATA on-the-wire * representation. */ int -loc_aton(ascii, binary) - const char *ascii; - u_char *binary; +loc_aton (const char *ascii, u_char *binary) { const char *cp, *maxcp; u_char *bcp; @@ -901,9 +896,7 @@ loc_aton(ascii, binary) /* takes an on-the-wire LOC RR and formats it in a human readable format. */ const char * -loc_ntoa(binary, ascii) - const u_char *binary; - char *ascii; +loc_ntoa (const u_char *binary, char *ascii) { static const char error[] = "?"; static char tmpbuf[sizeof |