From ba2b3459907f4fb204a327810b67de30a0337162 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 22 Jan 2017 08:57:18 -0600 Subject: [PATCH] Remove a few remaining use of the obsolteted 'Compilation Switches' program section --- drivers/bch/bchdev_driver.c | 4 ---- drivers/pipes/pipe.c | 4 ---- drivers/pwm.c | 4 ---- drivers/sensors/qencoder.c | 4 ---- libc/README.txt | 2 ++ libc/math/lib_rint.c | 4 ---- libc/math/lib_rintf.c | 4 ---- libc/math/lib_rintl.c | 4 ---- libc/net/lib_addroute.c | 4 ---- libc/net/lib_delroute.c | 4 ---- libc/net/lib_htons.c | 4 ---- libc/queue/dq_addafter.c | 4 ---- libc/stdio/lib_fgetc.c | 4 ---- libc/stdio/lib_fgetpos.c | 4 ---- libc/stdio/lib_fputc.c | 4 ---- libc/stdio/lib_fputs.c | 4 ---- libc/stdio/lib_fseek.c | 4 ---- libc/stdio/lib_fsetpos.c | 4 ---- libc/stdio/lib_ftell.c | 4 ---- libc/stdio/lib_puts.c | 4 ---- libc/stdio/lib_rdflush.c | 4 ---- libc/stdio/lib_ungetc.c | 4 ---- libc/stdio/lib_vprintf.c | 4 ---- libc/string/lib_memccpy.c | 4 ---- libc/string/lib_memcmp.c | 4 ---- libc/string/lib_memcpy.c | 4 ---- libc/string/lib_memmove.c | 4 ---- libc/string/lib_strcspn.c | 4 ---- libc/string/lib_strncasecmp.c | 4 ---- libc/string/lib_strncmp.c | 4 ---- libc/string/lib_strspn.c | 4 ---- net/tcp/tcp_seqno.c | 4 ---- 32 files changed, 2 insertions(+), 124 deletions(-) diff --git a/drivers/bch/bchdev_driver.c b/drivers/bch/bchdev_driver.c index 556709e8b8..e74ef3f7f7 100644 --- a/drivers/bch/bchdev_driver.c +++ b/drivers/bch/bchdev_driver.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/drivers/pipes/pipe.c b/drivers/pipes/pipe.c index b54f051cf5..eb898bfec7 100644 --- a/drivers/pipes/pipe.c +++ b/drivers/pipes/pipe.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/drivers/pwm.c b/drivers/pwm.c index 03958b6778..78b60751c0 100644 --- a/drivers/pwm.c +++ b/drivers/pwm.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/drivers/sensors/qencoder.c b/drivers/sensors/qencoder.c index eba9337a01..7f6edd0978 100644 --- a/drivers/sensors/qencoder.c +++ b/drivers/sensors/qencoder.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/README.txt b/libc/README.txt index dd8a94020d..313c71e7e5 100644 --- a/libc/README.txt +++ b/libc/README.txt @@ -29,10 +29,12 @@ in the include/ directory provides the prototype for library functions. So we have: audio - This part of he audio system: nuttx/audio/audio.h + dllfcn - dllfcn.h hex2bin - hex2bin.h libgen - libgen.h locale - locale.h fixedmath - fixedmath.h + machine - Various architecture-specifica implementations. math - math.h net - Various network-related header files: netinet/ether.h, arpa/inet.h pthread - pthread.h diff --git a/libc/math/lib_rint.c b/libc/math/lib_rint.c index 2e6af43a87..3ff1cd02f9 100644 --- a/libc/math/lib_rint.c +++ b/libc/math/lib_rint.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/math/lib_rintf.c b/libc/math/lib_rintf.c index 9a3c06df28..17148b3d29 100644 --- a/libc/math/lib_rintf.c +++ b/libc/math/lib_rintf.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/math/lib_rintl.c b/libc/math/lib_rintl.c index 03d5de0442..d5f24dc8c6 100644 --- a/libc/math/lib_rintl.c +++ b/libc/math/lib_rintl.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/net/lib_addroute.c b/libc/net/lib_addroute.c index 33a8dd0aad..8c7012abe8 100644 --- a/libc/net/lib_addroute.c +++ b/libc/net/lib_addroute.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/net/lib_delroute.c b/libc/net/lib_delroute.c index 862e8ebcbf..5110659c48 100644 --- a/libc/net/lib_delroute.c +++ b/libc/net/lib_delroute.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/net/lib_htons.c b/libc/net/lib_htons.c index ce33b879ea..d68d000b58 100644 --- a/libc/net/lib_htons.c +++ b/libc/net/lib_htons.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/queue/dq_addafter.c b/libc/queue/dq_addafter.c index e4965c802c..85d76edeb6 100644 --- a/libc/queue/dq_addafter.c +++ b/libc/queue/dq_addafter.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_fgetc.c b/libc/stdio/lib_fgetc.c index c4b32d69b9..e71d91a2d6 100644 --- a/libc/stdio/lib_fgetc.c +++ b/libc/stdio/lib_fgetc.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_fgetpos.c b/libc/stdio/lib_fgetpos.c index deca7e4455..9787ff4cf4 100644 --- a/libc/stdio/lib_fgetpos.c +++ b/libc/stdio/lib_fgetpos.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_fputc.c b/libc/stdio/lib_fputc.c index 57e784759a..7dcffbfc3f 100644 --- a/libc/stdio/lib_fputc.c +++ b/libc/stdio/lib_fputc.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_fputs.c b/libc/stdio/lib_fputs.c index 1d66c269d3..a41dd521c2 100644 --- a/libc/stdio/lib_fputs.c +++ b/libc/stdio/lib_fputs.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_fseek.c b/libc/stdio/lib_fseek.c index bafe4488e4..db8604d305 100644 --- a/libc/stdio/lib_fseek.c +++ b/libc/stdio/lib_fseek.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_fsetpos.c b/libc/stdio/lib_fsetpos.c index faa7324cde..9c1f98feda 100644 --- a/libc/stdio/lib_fsetpos.c +++ b/libc/stdio/lib_fsetpos.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_ftell.c b/libc/stdio/lib_ftell.c index 8707c9b264..c0aaf1f5d5 100644 --- a/libc/stdio/lib_ftell.c +++ b/libc/stdio/lib_ftell.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_puts.c b/libc/stdio/lib_puts.c index 957e7426b9..5c04245e31 100644 --- a/libc/stdio/lib_puts.c +++ b/libc/stdio/lib_puts.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_rdflush.c b/libc/stdio/lib_rdflush.c index cb928fb820..7e96ee4c2c 100644 --- a/libc/stdio/lib_rdflush.c +++ b/libc/stdio/lib_rdflush.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_ungetc.c b/libc/stdio/lib_ungetc.c index 89220751b3..234c17ac5c 100644 --- a/libc/stdio/lib_ungetc.c +++ b/libc/stdio/lib_ungetc.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/stdio/lib_vprintf.c b/libc/stdio/lib_vprintf.c index 5f7a084453..bc411e6d13 100644 --- a/libc/stdio/lib_vprintf.c +++ b/libc/stdio/lib_vprintf.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_memccpy.c b/libc/string/lib_memccpy.c index 2201870911..95fe7dacbd 100644 --- a/libc/string/lib_memccpy.c +++ b/libc/string/lib_memccpy.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_memcmp.c b/libc/string/lib_memcmp.c index 9da06d739f..9ae4ad1e73 100644 --- a/libc/string/lib_memcmp.c +++ b/libc/string/lib_memcmp.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_memcpy.c b/libc/string/lib_memcpy.c index 0abcdf57de..4132b815e5 100644 --- a/libc/string/lib_memcpy.c +++ b/libc/string/lib_memcpy.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_memmove.c b/libc/string/lib_memmove.c index bc40b96c65..dcef645a60 100644 --- a/libc/string/lib_memmove.c +++ b/libc/string/lib_memmove.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_strcspn.c b/libc/string/lib_strcspn.c index dd4a692875..9291d96d6c 100644 --- a/libc/string/lib_strcspn.c +++ b/libc/string/lib_strcspn.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_strncasecmp.c b/libc/string/lib_strncasecmp.c index 05d795b0a2..1019833a50 100644 --- a/libc/string/lib_strncasecmp.c +++ b/libc/string/lib_strncasecmp.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_strncmp.c b/libc/string/lib_strncmp.c index 92df02a20b..544c5efe2d 100644 --- a/libc/string/lib_strncmp.c +++ b/libc/string/lib_strncmp.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/libc/string/lib_strspn.c b/libc/string/lib_strspn.c index 47ab34d8b2..dfd68f1214 100644 --- a/libc/string/lib_strspn.c +++ b/libc/string/lib_strspn.c @@ -33,10 +33,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/net/tcp/tcp_seqno.c b/net/tcp/tcp_seqno.c index d2c5600107..e3c6a75c05 100644 --- a/net/tcp/tcp_seqno.c +++ b/net/tcp/tcp_seqno.c @@ -36,10 +36,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Compilation Switches - ****************************************************************************/ - /**************************************************************************** * Included Files ****************************************************************************/