diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-01 21:23:11 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-01 21:23:11 +0000 |
commit | 96a819785605424715ca89d40b40dbed956be23f (patch) | |
tree | abcb15648f76aca02e24e8e66eb545b2fe44425f /nuttx/lib | |
parent | cd183f612a05683075516c491e65dc12cf2afb18 (diff) | |
download | px4-nuttx-96a819785605424715ca89d40b40dbed956be23f.tar.gz px4-nuttx-96a819785605424715ca89d40b40dbed956be23f.tar.bz2 px4-nuttx-96a819785605424715ca89d40b40dbed956be23f.zip |
cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1561 42af7a65-404d-4744-a932-0658087f49c3
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; |