aboutsummaryrefslogtreecommitdiff
path: root/procps/sysctl.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /procps/sysctl.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r--procps/sysctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c
index ee883e163..359dcc041 100644
--- a/procps/sysctl.c
+++ b/procps/sysctl.c
@@ -17,7 +17,7 @@
17 * - added -p <preload> to preload values from a file 17 * - added -p <preload> to preload values from a file
18 * v1.01.1 18 * v1.01.1
19 * - busybox applet aware by <solar@gentoo.org> 19 * - busybox applet aware by <solar@gentoo.org>
20 * 20 *
21 */ 21 */
22 22
23#include <stdio.h> 23#include <stdio.h>
@@ -70,7 +70,7 @@ static void dwrite_str(int fd, const char *buf)
70} 70}
71 71
72/* 72/*
73 * sysctl_main()... 73 * sysctl_main()...
74 */ 74 */
75int sysctl_main(int argc, char **argv) 75int sysctl_main(int argc, char **argv)
76{ 76{
@@ -126,7 +126,7 @@ int sysctl_main(int argc, char **argv)
126 126
127 127
128/* 128/*
129 * sysctl_preload_file 129 * sysctl_preload_file
130 * preload the sysctl's from a conf file 130 * preload the sysctl's from a conf file
131 * - we parse the file and then reform it (strip out whitespace) 131 * - we parse the file and then reform it (strip out whitespace)
132 */ 132 */
@@ -250,7 +250,7 @@ int sysctl_write_setting(const char *setting, int output)
250 250
251 251
252/* 252/*
253 * Read a sysctl setting 253 * Read a sysctl setting
254 * 254 *
255 */ 255 */
256int sysctl_read_setting(const char *setting, int output) 256int sysctl_read_setting(const char *setting, int output)
@@ -304,7 +304,7 @@ int sysctl_read_setting(const char *setting, int output)
304 304
305 305
306/* 306/*
307 * Display all the sysctl settings 307 * Display all the sysctl settings
308 * 308 *
309 */ 309 */
310int sysctl_display_all(const char *path, int output, int show_table) 310int sysctl_display_all(const char *path, int output, int show_table)