diff options
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/lib_htonl.c | 4 | ||||
-rw-r--r-- | nuttx/lib/lib_htons.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/lib/lib_htonl.c b/nuttx/lib/lib_htonl.c index 0f6cbf224..941919709 100644 --- a/nuttx/lib/lib_htonl.c +++ b/nuttx/lib/lib_htonl.c @@ -1,7 +1,7 @@ /************************************************************ * lib_ntohl.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * diff --git a/nuttx/lib/lib_htons.c b/nuttx/lib/lib_htons.c index ee173c0e2..cee422436 100644 --- a/nuttx/lib/lib_htons.c +++ b/nuttx/lib/lib_htons.c @@ -1,7 +1,7 @@ /*************************************************************************** * lib_htons.c * - * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -53,7 +53,7 @@ uint16 htons(uint16 hs) return HTONS(hs); } -uint16 ntohs (uint16 ns) +uint16 ntohs(uint16 ns) { #ifdef CONFIG_ENDIAN_BIG return ns; |