summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-10-31 16:20:02 +1100
committerChris Johns <chrisj@rtems.org>2014-10-31 16:20:02 +1100
commit7ae1c30cc8fffe4cff8408b6408fa650165d02d8 (patch)
tree64feae981563533b0ff5e0b54c5d26898269a604 /cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
parentcpukit: Add libdl with the Runtime Loader (RTL) code. (diff)
downloadrtems-7ae1c30cc8fffe4cff8408b6408fa650165d02d8.tar.bz2
libnetworking: Fix the sethostname decl to match newlib.
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bsdnet_internal.h')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index 567cc8ab3a..865b644d4c 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -188,7 +188,7 @@ extern char *rtems_bsdnet_domain_name;
/*
* Some extra prototypes
*/
-int sethostname (char *name, size_t namelen);
+int sethostname (const char *name, size_t namelen);
void domaininit (void *);
void ifinit (void *);
void ipintr (void);