diff options
author | Chris Johns <chrisj@rtems.org> | 2014-10-31 16:20:02 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-10-31 16:20:02 +1100 |
commit | 7ae1c30cc8fffe4cff8408b6408fa650165d02d8 (patch) | |
tree | 64feae981563533b0ff5e0b54c5d26898269a604 /cpukit/libnetworking/rtems/sghostname.c | |
parent | cpukit: Add libdl with the Runtime Loader (RTL) code. (diff) | |
download | rtems-7ae1c30cc8fffe4cff8408b6408fa650165d02d8.tar.bz2 |
libnetworking: Fix the sethostname decl to match newlib.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/rtems/sghostname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/rtems/sghostname.c b/cpukit/libnetworking/rtems/sghostname.c index 6935b5cc63..8ac5c58954 100644 --- a/cpukit/libnetworking/rtems/sghostname.c +++ b/cpukit/libnetworking/rtems/sghostname.c @@ -28,7 +28,7 @@ gethostname (char *name, size_t namelen) } int -sethostname (char *name, size_t namelen) +sethostname (const char *name, size_t namelen) { char *old, *new; |