From 43ec94a665e13552402ff4f102e0f65f6792cf29 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 13 Apr 2014 16:24:28 -0600 Subject: More trailing whilespace removal --- apps/system/cdcacm/Makefile | 2 +- apps/system/cle/Makefile | 2 +- apps/system/composite/Makefile | 2 +- apps/system/composite/composite_main.c | 2 +- apps/system/flash_eraseall/Makefile | 2 +- apps/system/free/Makefile | 2 +- apps/system/i2c/Makefile | 2 +- apps/system/i2c/i2c_common.c | 2 +- apps/system/i2c/i2c_dev.c | 2 +- apps/system/i2c/i2c_main.c | 6 +++--- apps/system/inifile/Makefile | 2 +- apps/system/install/Makefile | 2 +- apps/system/install/README.txt | 4 ++-- apps/system/nxplayer/nxplayer.c | 2 +- apps/system/poweroff/Makefile | 2 +- apps/system/poweroff/poweroff.c | 4 ++-- apps/system/ramtest/Makefile | 2 +- apps/system/ramtron/Makefile | 2 +- apps/system/ramtron/ramtron.c | 8 ++++---- apps/system/sdcard/Makefile | 2 +- apps/system/stackmonitor/Makefile | 2 +- apps/system/stackmonitor/stackmonitor.c | 2 +- apps/system/sysinfo/Makefile | 2 +- apps/system/usbmonitor/Makefile | 2 +- apps/system/usbmonitor/usbmonitor.c | 2 +- apps/system/usbmsc/Makefile | 2 +- apps/system/usbmsc/usbmsc_main.c | 4 ++-- apps/system/vi/Makefile | 2 +- apps/system/zmodem/host/crc32.c | 2 +- apps/system/zmodem/host/nuttx/compiler.h | 2 +- apps/system/zmodem/zm_proto.c | 4 ++-- 31 files changed, 40 insertions(+), 40 deletions(-) (limited to 'apps/system') diff --git a/apps/system/cdcacm/Makefile b/apps/system/cdcacm/Makefile index b72bb9fae..283add323 100644 --- a/apps/system/cdcacm/Makefile +++ b/apps/system/cdcacm/Makefile @@ -72,7 +72,7 @@ STACKSIZE2 = 2048 # Common build -VPATH = +VPATH = all: .built .PHONY: context clean depend distclean diff --git a/apps/system/cle/Makefile b/apps/system/cle/Makefile index cce4bb109..78b1ffd35 100644 --- a/apps/system/cle/Makefile +++ b/apps/system/cle/Makefile @@ -66,7 +66,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/composite/Makefile b/apps/system/composite/Makefile index 83d36d5e8..a4ca37871 100644 --- a/apps/system/composite/Makefile +++ b/apps/system/composite/Makefile @@ -72,7 +72,7 @@ STACKSIZE2 = 2048 # Common build -VPATH = +VPATH = all: .built .PHONY: context clean depend distclean diff --git a/apps/system/composite/composite_main.c b/apps/system/composite/composite_main.c index 28d8e38aa..5bba46132 100644 --- a/apps/system/composite/composite_main.c +++ b/apps/system/composite/composite_main.c @@ -793,7 +793,7 @@ int conn_main(int argc, char *argv[]) #endif /* Dump debug memory usage */ - + message("conn_main: Exiting\n"); #if !defined(CONFIG_NSH_BUILTIN_APPS) && !defined(CONFIG_DISABLE_SIGNALS) close(g_composite.infd); diff --git a/apps/system/flash_eraseall/Makefile b/apps/system/flash_eraseall/Makefile index 0d4d7c9fe..6b51aed35 100644 --- a/apps/system/flash_eraseall/Makefile +++ b/apps/system/flash_eraseall/Makefile @@ -76,7 +76,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/free/Makefile b/apps/system/free/Makefile index f085497cb..737d111af 100644 --- a/apps/system/free/Makefile +++ b/apps/system/free/Makefile @@ -72,7 +72,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile index 1ed7a2fae..4cad67ecf 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -59,7 +59,7 @@ endif endif ROOTDEPPATH = --dep-path . -VPATH = +VPATH = APPNAME = i2c PRIORITY = SCHED_PRIORITY_DEFAULT diff --git a/apps/system/i2c/i2c_common.c b/apps/system/i2c/i2c_common.c index 4af648c7d..aa4868ffe 100644 --- a/apps/system/i2c/i2c_common.c +++ b/apps/system/i2c/i2c_common.c @@ -209,7 +209,7 @@ int arg_hex(FAR char **arg, FAR long *value) { FAR char *string; int ret; - + ret = arg_string(arg, &string); *value = strtol(string, NULL, 16); return ret; diff --git a/apps/system/i2c/i2c_dev.c b/apps/system/i2c/i2c_dev.c index 3d0480a15..a9da1a03f 100644 --- a/apps/system/i2c/i2c_dev.c +++ b/apps/system/i2c/i2c_dev.c @@ -177,7 +177,7 @@ int i2ccmd_dev(FAR struct i2ctool_s *i2ctool, int argc, char **argv) i2ctool_printf(i2ctool, " "); continue; } - + /* Set the I2C address */ I2C_SETADDRESS(dev, addr, 7); diff --git a/apps/system/i2c/i2c_main.c b/apps/system/i2c/i2c_main.c index 0cf6786cb..47e60ec1d 100644 --- a/apps/system/i2c/i2c_main.c +++ b/apps/system/i2c/i2c_main.c @@ -70,7 +70,7 @@ static int i2ccmd_unrecognized(FAR struct i2ctool_s *i2ctool, int argc, char **a /**************************************************************************** * Private Data ****************************************************************************/ - + struct i2ctool_s g_i2ctool; static const struct cmdmap_s g_i2ccmds[] = @@ -379,7 +379,7 @@ int i2c_main(int argc, char *argv[]) { g_i2ctool.freq = CONFIG_I2CTOOL_DEFFREQ; } - + /* Parse process the command line */ i2c_setup(&g_i2ctool); @@ -406,7 +406,7 @@ int i2ctool_printf(FAR struct i2ctool_s *i2ctool, const char *fmt, ...) va_start(ap, fmt); ret = vfprintf(OUTSTREAM(i2ctool), fmt, ap); va_end(ap); - + return ret; } diff --git a/apps/system/inifile/Makefile b/apps/system/inifile/Makefile index c867c114d..d7611b4dd 100644 --- a/apps/system/inifile/Makefile +++ b/apps/system/inifile/Makefile @@ -59,7 +59,7 @@ endif endif ROOTDEPPATH = --dep-path . -VPATH = +VPATH = # Build targets diff --git a/apps/system/install/Makefile b/apps/system/install/Makefile index 07d42887a..fb7c4de05 100644 --- a/apps/system/install/Makefile +++ b/apps/system/install/Makefile @@ -76,7 +76,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/install/README.txt b/apps/system/install/README.txt index 66e9b0939..114e9c5a3 100644 --- a/apps/system/install/README.txt +++ b/apps/system/install/README.txt @@ -11,9 +11,9 @@ the program memory (flash) area into free area and creates a start-up script into selected directory (i.e. /usr/bin/progname). Usage: - install [--stack RequiredStackSpace] [--priority Priority] + install [--stack RequiredStackSpace] [--priority Priority] source-file destination-directory - + If stackspace is not given default stack space of 4096 Bytes is used. If priority is not given system default is used. diff --git a/apps/system/nxplayer/nxplayer.c b/apps/system/nxplayer/nxplayer.c index 1c0f66c8a..58d2fb7ef 100644 --- a/apps/system/nxplayer/nxplayer.c +++ b/apps/system/nxplayer/nxplayer.c @@ -253,7 +253,7 @@ static int nxplayer_opendevice(FAR struct nxplayer_s *pPlayer, int format, caps.ac_subtype = format; caps.ac_format[0] = 0; - while (ioctl(pPlayer->devFd, AUDIOIOC_GETCAPS, + while (ioctl(pPlayer->devFd, AUDIOIOC_GETCAPS, (unsigned long) &caps) == caps.ac_len) { /* Check the next set of 4 controls to find the subformat */ diff --git a/apps/system/poweroff/Makefile b/apps/system/poweroff/Makefile index eb7518fbc..382911875 100644 --- a/apps/system/poweroff/Makefile +++ b/apps/system/poweroff/Makefile @@ -76,7 +76,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/poweroff/poweroff.c b/apps/system/poweroff/poweroff.c index dd08b177a..916936a80 100644 --- a/apps/system/poweroff/poweroff.c +++ b/apps/system/poweroff/poweroff.c @@ -51,10 +51,10 @@ int poweroff_main(int argc, char *argv[]) * a new process with nsh poweroff) * - wait for some time (~0.5 second for VSN), that SDcard is flashed and synced * - call poweroff - * + * * TODO on boot: * - if external key is pressed, do not start the nsh! but wait until it is released - * (to get rid of bad mounts of the sdcard etc.) this could be handled in the + * (to get rid of bad mounts of the sdcard etc.) this could be handled in the * button driver immediately on system boot */ diff --git a/apps/system/ramtest/Makefile b/apps/system/ramtest/Makefile index 71d7558f5..a8263a89f 100644 --- a/apps/system/ramtest/Makefile +++ b/apps/system/ramtest/Makefile @@ -69,7 +69,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/ramtron/Makefile b/apps/system/ramtron/Makefile index b47781095..4ac47431a 100644 --- a/apps/system/ramtron/Makefile +++ b/apps/system/ramtron/Makefile @@ -76,7 +76,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/ramtron/ramtron.c b/apps/system/ramtron/ramtron.c index 2e1632cf1..f769a7ea7 100644 --- a/apps/system/ramtron/ramtron.c +++ b/apps/system/ramtron/ramtron.c @@ -56,7 +56,7 @@ int ramtron_start(int spino) int retval; /* Get the SPI port */ - + spi = up_spiinitialize(spino); if (!spi) { @@ -86,17 +86,17 @@ int ramtron_start(int spino) int ramtron_main(int argc, char *argv[]) { int spino; - + if (argc == 3) { spino = atoi(argv[2]); - + if (!strcmp(argv[1], "start")) { return ramtron_start(spino); } } - + /* todo: write protect */ printf("%s: \n", argv[0]); diff --git a/apps/system/sdcard/Makefile b/apps/system/sdcard/Makefile index d748b2b04..87dfb697b 100644 --- a/apps/system/sdcard/Makefile +++ b/apps/system/sdcard/Makefile @@ -76,7 +76,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/stackmonitor/Makefile b/apps/system/stackmonitor/Makefile index e38935d32..5e7102c4f 100644 --- a/apps/system/stackmonitor/Makefile +++ b/apps/system/stackmonitor/Makefile @@ -69,7 +69,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/stackmonitor/stackmonitor.c b/apps/system/stackmonitor/stackmonitor.c index 653a2fdc4..2c912fcbf 100644 --- a/apps/system/stackmonitor/stackmonitor.c +++ b/apps/system/stackmonitor/stackmonitor.c @@ -146,7 +146,7 @@ int stackmonitor_start(int argc, char **argv) int ret; /* No.. start it now */ - + /* Then start the stack monitoring daemon */ g_stackmonitor.started = true; diff --git a/apps/system/sysinfo/Makefile b/apps/system/sysinfo/Makefile index bbac0415b..32edf1ab8 100644 --- a/apps/system/sysinfo/Makefile +++ b/apps/system/sysinfo/Makefile @@ -77,7 +77,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/usbmonitor/Makefile b/apps/system/usbmonitor/Makefile index 56b6ccee1..4516d31d6 100644 --- a/apps/system/usbmonitor/Makefile +++ b/apps/system/usbmonitor/Makefile @@ -69,7 +69,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/usbmonitor/usbmonitor.c b/apps/system/usbmonitor/usbmonitor.c index f223be540..252a5890d 100644 --- a/apps/system/usbmonitor/usbmonitor.c +++ b/apps/system/usbmonitor/usbmonitor.c @@ -185,7 +185,7 @@ int usbmonitor_start(int argc, char **argv) int ret; /* No.. start it now */ - + #ifdef CONFIG_USBDEV_TRACE /* First, initialize any USB tracing options that were requested */ diff --git a/apps/system/usbmsc/Makefile b/apps/system/usbmsc/Makefile index 842733ef7..7ee0765eb 100644 --- a/apps/system/usbmsc/Makefile +++ b/apps/system/usbmsc/Makefile @@ -75,7 +75,7 @@ STACKSIZE2 = $(CONFIG_SYSTEM_USBMSC_CMD_STACKSIZE) # Common build -VPATH = +VPATH = all: .built .PHONY: context clean depend distclean diff --git a/apps/system/usbmsc/usbmsc_main.c b/apps/system/usbmsc/usbmsc_main.c index 9dd0fb5ad..39eaebeff 100644 --- a/apps/system/usbmsc/usbmsc_main.c +++ b/apps/system/usbmsc/usbmsc_main.c @@ -549,11 +549,11 @@ int msconn_main(int argc, char *argv[]) #else /* defined(CONFIG_DISABLE_SIGNALS) */ /* Just exit */ - + message("mcsonn_main: Exiting\n"); /* Dump debug memory usage */ - + final_memory_usage("Final memory usage"); #endif diff --git a/apps/system/vi/Makefile b/apps/system/vi/Makefile index 8ece2628e..80ea483c8 100644 --- a/apps/system/vi/Makefile +++ b/apps/system/vi/Makefile @@ -73,7 +73,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/system/zmodem/host/crc32.c b/apps/system/zmodem/host/crc32.c index 01b92a32c..d2b8815ff 100644 --- a/apps/system/zmodem/host/crc32.c +++ b/apps/system/zmodem/host/crc32.c @@ -50,7 +50,7 @@ /************************************************************************************************ * Private Data ************************************************************************************************/ - + static const uint32_t crc32_tab[] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, diff --git a/apps/system/zmodem/host/nuttx/compiler.h b/apps/system/zmodem/host/nuttx/compiler.h index fc029063e..f71dcff09 100644 --- a/apps/system/zmodem/host/nuttx/compiler.h +++ b/apps/system/zmodem/host/nuttx/compiler.h @@ -102,7 +102,7 @@ */ # define naked_function __attribute__ ((naked,no_instrument_function)) - + /* The inline_function attribute informs GCC that the function should always * be inlined, regardless of the level of optimization. The noinline_function * indicates that the function should never be inlined. diff --git a/apps/system/zmodem/zm_proto.c b/apps/system/zmodem/zm_proto.c index f730a984c..05edc46f6 100644 --- a/apps/system/zmodem/zm_proto.c +++ b/apps/system/zmodem/zm_proto.c @@ -313,7 +313,7 @@ int zm_sendhexhdr(FAR struct zm_state_s *pzm, int type, } /* crc-1 crc-2 */ - + crc = crc16part(g_zeroes, 2, crc); ptr = zm_puthex8(ptr, (crc >> 8) & 0xff); ptr = zm_puthex8(ptr, crc & 0xff); @@ -346,7 +346,7 @@ int zm_sendhexhdr(FAR struct zm_state_s *pzm, int type, * 16-bit binary header: * ZPAD ZDLE ZBIN type f3/p0 f2/p1 f1/p2 f0/p3 crc-1 crc-2 * Payload length: 7 (type, 4 bytes data, 2 byte CRC) - * + * * Input Parameters: * pzm - Zmodem session state * type - Header type {ZSINIT, ZFILE, ZDATA, ZDATA} -- cgit v1.2.3