From 94bf6d4c4f4d13f3dfc421d87ac10f422b4a1318 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 17 Aug 1996 14:27:12 +0000 Subject: [PATCH] Fixed prototype of `inet_aton' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@652 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 2 +- lib/roken/roken.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 5f522767f..5c07132f8 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -52,7 +52,7 @@ void herror(char *s); #ifndef HAVE_INET_ATON /* Minimal implementation of inet_aton. Doesn't handle hex numbers. */ #ifndef __GNUC__ -int inet_aton(char *cp, struct in_addr *adr); +int inet_aton(const char *cp, struct in_addr *adr); #endif #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 5f522767f..5c07132f8 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -52,7 +52,7 @@ void herror(char *s); #ifndef HAVE_INET_ATON /* Minimal implementation of inet_aton. Doesn't handle hex numbers. */ #ifndef __GNUC__ -int inet_aton(char *cp, struct in_addr *adr); +int inet_aton(const char *cp, struct in_addr *adr); #endif #endif