summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/herror.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/libc/herror.c')
-rw-r--r--cpukit/libnetworking/libc/herror.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libnetworking/libc/herror.c b/cpukit/libnetworking/libc/herror.c
index 621da3ec1d..e7d6ba48cb 100644
--- a/cpukit/libnetworking/libc/herror.c
+++ b/cpukit/libnetworking/libc/herror.c
@@ -76,8 +76,7 @@ int h_errno;
* print the error indicated by the h_errno value.
*/
void
-herror(s)
- const char *s;
+herror(const char *s)
{
#if defined(HERROR_USE_WRITEV)
struct iovec iov[4];
@@ -112,8 +111,7 @@ herror(s)
}
const char *
-hstrerror(err)
- int err;
+hstrerror(int err)
{
if (err < 0)
return ("Resolver internal error");