diff options
-rw-r--r-- | nuttx/include/assert.h | 32 | ||||
-rw-r--r-- | nuttx/include/ctype.h | 50 | ||||
-rw-r--r-- | nuttx/include/dirent.h | 36 | ||||
-rw-r--r-- | nuttx/include/fcntl.h | 12 | ||||
-rw-r--r-- | nuttx/include/libgen.h | 12 | ||||
-rw-r--r-- | nuttx/include/limits.h | 12 | ||||
-rw-r--r-- | nuttx/include/mqueue.h | 12 | ||||
-rw-r--r-- | nuttx/include/sched.h | 12 | ||||
-rw-r--r-- | nuttx/include/stdlib.h | 36 | ||||
-rw-r--r-- | nuttx/include/string.h | 28 | ||||
-rw-r--r-- | nuttx/include/time.h | 12 |
11 files changed, 127 insertions, 127 deletions
diff --git a/nuttx/include/assert.h b/nuttx/include/assert.h index 62c8baa257..618d089c33 100644 --- a/nuttx/include/assert.h +++ b/nuttx/include/assert.h @@ -1,7 +1,7 @@ -/************************************************************ - * assert.h +/**************************************************************************** + * include/assert.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -31,21 +31,21 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __ASSERT_H -#define __ASSERT_H +#ifndef __INCLUDE_ASSERT_H +#define __INCLUDE_ASSERT_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <sys/types.h> #include <nuttx/compiler.h> -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* Macro Name: ASSERT, ASSERTCODE, et al. */ @@ -91,13 +91,13 @@ #endif -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Function Prototypes - ************************************************************/ + ****************************************************************************/ #ifdef __cplusplus #define EXTERN extern "C" @@ -120,4 +120,4 @@ EXTERN void up_assert_code(int error_code); } #endif -#endif /* __ASSERT_H */ +#endif /* __INCLUDE_ASSERT_H */ diff --git a/nuttx/include/ctype.h b/nuttx/include/ctype.h index 67c157e2ee..c918760473 100644 --- a/nuttx/include/ctype.h +++ b/nuttx/include/ctype.h @@ -1,7 +1,7 @@ -/************************************************************ - * ctype.h +/**************************************************************************** + * include/ctype.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ************************************************************/ -#ifndef __CTYPE_H -#define __CTYPE_H +#ifndef __INCLUDE_CTYPE_H +#define __INCLUDE_CTYPE_H /* There is no consistent ctype implementation, just a * smattering of functions. Individually, they are okay, but @@ -42,17 +42,17 @@ * if used extensively. */ -/************************************************************ +/**************************************************************************** * Included Files ************************************************************/ #include <sys/types.h> -/************************************************************ +/**************************************************************************** * Definitions ************************************************************/ -/************************************************************ +/**************************************************************************** * Function: isspace * * Description: @@ -67,7 +67,7 @@ ((c) == ' ' || (c) == '\t' || (c) == '\n' || \ (c) == '\r' || (c) == '\f' || c== '\v') -/************************************************************ +/**************************************************************************** * Function: isascii * * Description: @@ -78,7 +78,7 @@ #define isascii(c) ((c) >= 0 && (c) <= 0x7f); -/************************************************************ +/**************************************************************************** * Function: isprint * * Description: @@ -88,7 +88,7 @@ #define isprint(c) ((c) >= 0x20 && (c) < 0x7f) -/************************************************************ +/**************************************************************************** * Function: isgraph * * Description: @@ -98,7 +98,7 @@ #define isgraph(c) ((c) > 0x20 && (c) < 0x7f) -/************************************************************ +/**************************************************************************** * Function: iscntrl * * Description: @@ -108,7 +108,7 @@ #define iscontrol(c) (!isprint(c)) -/************************************************************ +/**************************************************************************** * Function: islower * * Description: @@ -118,7 +118,7 @@ #define islower(c) ((c) >= 'a' && (c) <= 'z') -/************************************************************ +/**************************************************************************** * Function: isupper * * Description: @@ -128,7 +128,7 @@ #define isupper(c) ((c) >= 'A' && (c) <= 'Z') -/************************************************************ +/**************************************************************************** * Function: isalpha * * Description: @@ -138,7 +138,7 @@ #define isalpha(c) (islower(c) || isupper(c)) -/************************************************************ +/**************************************************************************** * Function: isdigit * * Description: @@ -148,7 +148,7 @@ #define isdigit(c) ((c) >= '0' && (c) <= '9') -/************************************************************ +/**************************************************************************** * Function: isalnum * * Description: @@ -158,7 +158,7 @@ #define isalnum(c) (isalpha(c) || isdigit(c)) -/************************************************************ +/**************************************************************************** * Function: ispunct * * Description: @@ -169,7 +169,7 @@ #define ispunct(c) (isgraph(c) && !isalnum(c)) -/************************************************************ +/**************************************************************************** * Function: isxdigit * * Description: @@ -183,7 +183,7 @@ ((c) >= 'a' && (c) <= 'f') || \ ((c) >= 'A' && (c) <= 'F')) -/************************************************************ +/**************************************************************************** * Function: toupper * * Description: @@ -194,7 +194,7 @@ #define toupper(c) \ (((c) >= 'a' && (c) <= 'z') ? ((c) - 'a' + 'A') : (c)) -/************************************************************ +/**************************************************************************** * Function: tolower * * Description: @@ -205,11 +205,11 @@ #define tolower(c) \ (((c) >= 'A' && (c) <= 'Z') ? ((c) - 'A' + 'a') : (c)) -/************************************************************ +/**************************************************************************** * Public Type Definitions ************************************************************/ -/************************************************************ +/**************************************************************************** * Public Functions ************************************************************/ @@ -225,4 +225,4 @@ extern "C" { } #endif -#endif /* __CTYPE_H */ +#endif /* __INCLUDE_CTYPE_H */ diff --git a/nuttx/include/dirent.h b/nuttx/include/dirent.h index f7e87844c5..ccb2486e0f 100644 --- a/nuttx/include/dirent.h +++ b/nuttx/include/dirent.h @@ -1,7 +1,7 @@ -/************************************************************ - * dirent.h +/**************************************************************************** + * include/dirent.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -31,22 +31,22 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __DIRENT_H -#define __DIRENT_H +#ifndef __INCLUDE_DIRENT_H +#define __INCLUDE_DIRENT_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> #include <sys/types.h> #include <limits.h> -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* File type code for the d_type field in dirent struct. * Note that because of the simplified filesystem organization @@ -63,9 +63,9 @@ #define DIRENT_ISBLK(dtype) (((dtype) & DTYPE_BLK) != 0 ) #define DIRENT_ISDIRECTORY(dtype) (((dtype) & DTYPE_DIRECTORY) != 0 ) -/************************************************************ +/**************************************************************************** * Public Type Definitions - ************************************************************/ + ****************************************************************************/ /* The POSIX specification requires that the caller of readdir_r * provide storage "large enough for a dirent with the d_name @@ -81,13 +81,13 @@ struct dirent typedef void DIR; -/************************************************************ +/**************************************************************************** * Public Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Public Function Prototypes - ************************************************************/ + ****************************************************************************/ #undef EXTERN #if defined(__cplusplus) @@ -113,4 +113,4 @@ EXTERN int telldir(FAR DIR *dirp); } #endif -#endif /* __DIRENT_H */ +#endif /* __INCLUDE_DIRENT_H */ diff --git a/nuttx/include/fcntl.h b/nuttx/include/fcntl.h index b4f0aa82a0..5218e24730 100644 --- a/nuttx/include/fcntl.h +++ b/nuttx/include/fcntl.h @@ -1,7 +1,7 @@ /******************************************************************************** - * fcntl.h + * include/fcntl.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ********************************************************************************/ -#ifndef __FCNTL_H -#define __FCNTL_H +#ifndef __INCLUDE_FCNTL_H +#define __INCLUDE_FCNTL_H /******************************************************************************** * Included Files @@ -146,4 +146,4 @@ EXTERN int fcntl(int fd, int cmd, ...); } #endif -#endif /* __FCNTL_H */ +#endif /* __INCLUDE_FCNTL_H */ diff --git a/nuttx/include/libgen.h b/nuttx/include/libgen.h index 531a2cc449..3eb83ace43 100644 --- a/nuttx/include/libgen.h +++ b/nuttx/include/libgen.h @@ -1,7 +1,7 @@ /**************************************************************************** - * libgen.h + * include/libgen.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __LIBGEN_H -#define __LIBGEN_H +#ifndef __INCLUDE_LIBGEN_H +#define __INCLUDE_LIBGEN_H /**************************************************************************** * Included Files @@ -63,4 +63,4 @@ EXTERN char *dirname(char *path); } #endif -#endif /* __LIBGEN_H */ +#endif /* __INCLUDE_LIBGEN_H */ diff --git a/nuttx/include/limits.h b/nuttx/include/limits.h index d32c7177a7..4d47fed0e5 100644 --- a/nuttx/include/limits.h +++ b/nuttx/include/limits.h @@ -1,7 +1,7 @@ /******************************************************************************** - * limits.h + * include/limits.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ********************************************************************************/ -#ifndef __LIMITS_H -#define __LIMITS_H +#ifndef __INCLUDE_LIMITS_H +#define __INCLUDE_LIMITS_H /******************************************************************************** * Included Files @@ -191,4 +191,4 @@ #define SEM_NSEMS_MAX _POSIX_SEM_NSEMS_MAX #define SEM_VALUE_MAX _POSIX_SEM_VALUE_MAX -#endif /* __LIMITS_H */ +#endif /* __INCLUDE_LIMITS_H */ diff --git a/nuttx/include/mqueue.h b/nuttx/include/mqueue.h index d13fe70064..6eb3fad9c7 100644 --- a/nuttx/include/mqueue.h +++ b/nuttx/include/mqueue.h @@ -1,7 +1,7 @@ /******************************************************************************** - * mqueue.h + * ionclude/mqueue.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ********************************************************************************/ -#ifndef __MQUEUE_H -#define __MQUEUE_H +#ifndef __INCLUDE_MQUEUE_H +#define __INCLUDE_MQUEUE_H /******************************************************************************** * Included Files @@ -106,5 +106,5 @@ EXTERN int mq_getattr(mqd_t mqdes, struct mq_attr *mq_stat); } #endif -#endif /* __MQUEUE_H */ +#endif /* __INCLUDE_MQUEUE_H */ diff --git a/nuttx/include/sched.h b/nuttx/include/sched.h index b2b9eef60d..0923987f35 100644 --- a/nuttx/include/sched.h +++ b/nuttx/include/sched.h @@ -1,7 +1,7 @@ /******************************************************************************** - * sched.h + * include/sched.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ********************************************************************************/ -#ifndef __SCHED_H -#define __SCHED_H +#ifndef __INCLUDE_SCHED_H +#define __INCLUDE_SCHED_H /******************************************************************************** * Included Files @@ -145,4 +145,4 @@ EXTERN void sched_note_switch(FAR _TCB *pFromTcb, FAR _TCB *pToTcb); #endif #endif /* __ASSEMBLY__ */ -#endif /* __SCHED_H */ +#endif /* __INCLUDE_SCHED_H */ diff --git a/nuttx/include/stdlib.h b/nuttx/include/stdlib.h index 58a07ac2d9..68b8ef979b 100644 --- a/nuttx/include/stdlib.h +++ b/nuttx/include/stdlib.h @@ -1,7 +1,7 @@ -/************************************************************ - * stdlib.h +/**************************************************************************** + * include/stdlib.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -31,21 +31,21 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __STDLIB_H -#define __STDLIB_H +#ifndef __INCLUDE_STDLIB_H +#define __INCLUDE_STDLIB_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> #include <sys/types.h> -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ /* The C standard specifies two constants, EXIT_SUCCESS and * EXIT_FAILURE, that may be passed to exit() to indicate @@ -64,9 +64,9 @@ # define environ get_environ_ptr() #endif -/************************************************************ +/**************************************************************************** * Global Type Definitions - ************************************************************/ + ****************************************************************************/ struct mallinfo { @@ -80,13 +80,13 @@ struct mallinfo * by free (not in use) chunks.*/ }; -/************************************************************ +/**************************************************************************** * Global Function Prototypes - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Function Prototypes - ************************************************************/ + ****************************************************************************/ #undef EXTERN #if defined(__cplusplus) @@ -144,4 +144,4 @@ EXTERN int mallinfo(struct mallinfo *info); } #endif -#endif /* __STDLIB_H */ +#endif /* __INCLUDE_STDLIB_H */ diff --git a/nuttx/include/string.h b/nuttx/include/string.h index 31ac0e7d33..6f0ab8f605 100644 --- a/nuttx/include/string.h +++ b/nuttx/include/string.h @@ -1,7 +1,7 @@ -/************************************************************ - * string.h +/**************************************************************************** + * include/string.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -31,25 +31,25 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -#ifndef __STRING_H -#define __STRING_H +#ifndef __INCLUDE_STRING_H +#define __INCLUDE_STRING_H -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> #include <stddef.h> /* For size_t */ -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Function Prototypes - ************************************************************/ + ****************************************************************************/ #undef EXTERN #if defined(__cplusplus) @@ -93,4 +93,4 @@ EXTERN void *memmove(void *dest, const void *src, size_t count); #if defined(__cplusplus) } #endif -#endif /* __STRING_H */ +#endif /* __INCLUDE_STRING_H */ diff --git a/nuttx/include/time.h b/nuttx/include/time.h index 92b849fbeb..fe8fe1ba6c 100644 --- a/nuttx/include/time.h +++ b/nuttx/include/time.h @@ -1,7 +1,7 @@ /******************************************************************************** - * time.h + * include/time.h * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 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. * @@ -33,8 +33,8 @@ * ********************************************************************************/ -#ifndef _TIME_H_ -#define _TIME_H_ +#ifndef __INCLUDE_TIME_H +#define __INCLUDE_TIME_H /******************************************************************************** * Included Files @@ -158,4 +158,4 @@ EXTERN int timer_getoverrun(timer_t timerid); } #endif -#endif /* _TIME_H_ */ +#endif /* __INCLUDE_TIME_H */ |