From 7ae1c30cc8fffe4cff8408b6408fa650165d02d8 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 31 Oct 2014 16:20:02 +1100 Subject: libnetworking: Fix the sethostname decl to match newlib. --- cpukit/libnetworking/libc/res_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libnetworking/libc/res_config.h') diff --git a/cpukit/libnetworking/libc/res_config.h b/cpukit/libnetworking/libc/res_config.h index 165741889b..83bf217a8c 100644 --- a/cpukit/libnetworking/libc/res_config.h +++ b/cpukit/libnetworking/libc/res_config.h @@ -11,6 +11,6 @@ u_int16_t _getshort(const u_char *src); u_int32_t _getlong(const u_char *src); int gethostname (char *name, size_t namelen); -int sethostname (char *name, size_t namelen); +int sethostname (const char *name, size_t namelen); int issetugid (void); #endif -- cgit v1.2.3