diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/xgetularg.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'libbb/xgetularg.c')
-rw-r--r-- | libbb/xgetularg.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libbb/xgetularg.c b/libbb/xgetularg.c index d743520c3..e90085446 100644 --- a/libbb/xgetularg.c +++ b/libbb/xgetularg.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "libbb.h" | 29 | #include "libbb.h" |
30 | 30 | ||
31 | #ifdef L_xgetularg_bnd_sfx | 31 | #ifdef L_xgetularg_bnd_sfx |
32 | extern | 32 | extern |
33 | unsigned long bb_xgetularg_bnd_sfx(const char *arg, int base, | 33 | unsigned long bb_xgetularg_bnd_sfx(const char *arg, int base, |
34 | unsigned long lower, | 34 | unsigned long lower, |
35 | unsigned long upper, | 35 | unsigned long upper, |
@@ -61,7 +61,7 @@ unsigned long bb_xgetularg_bnd_sfx(const char *arg, int base, | |||
61 | bb_show_usage(); | 61 | bb_show_usage(); |
62 | } | 62 | } |
63 | errno = old_errno; /* Ok. So restore errno. */ | 63 | errno = old_errno; /* Ok. So restore errno. */ |
64 | 64 | ||
65 | /* Do optional suffix parsing. Allow 'empty' suffix tables. | 65 | /* Do optional suffix parsing. Allow 'empty' suffix tables. |
66 | * Note that we also all nul suffixes with associated multipliers, | 66 | * Note that we also all nul suffixes with associated multipliers, |
67 | * to allow for scaling of the arg by some default multiplier. */ | 67 | * to allow for scaling of the arg by some default multiplier. */ |
@@ -78,7 +78,7 @@ unsigned long bb_xgetularg_bnd_sfx(const char *arg, int base, | |||
78 | } | 78 | } |
79 | ++suffixes; | 79 | ++suffixes; |
80 | } | 80 | } |
81 | } | 81 | } |
82 | 82 | ||
83 | /* Finally, check for illegal trailing chars and range limits. */ | 83 | /* Finally, check for illegal trailing chars and range limits. */ |
84 | /* Note: although we allow leading space (via stroul), trailing space | 84 | /* Note: although we allow leading space (via stroul), trailing space |
@@ -92,7 +92,7 @@ unsigned long bb_xgetularg_bnd_sfx(const char *arg, int base, | |||
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | #ifdef L_xgetlarg_bnd_sfx | 94 | #ifdef L_xgetlarg_bnd_sfx |
95 | extern | 95 | extern |
96 | long bb_xgetlarg_bnd_sfx(const char *arg, int base, | 96 | long bb_xgetlarg_bnd_sfx(const char *arg, int base, |
97 | long lower, | 97 | long lower, |
98 | long upper, | 98 | long upper, |
@@ -124,7 +124,7 @@ long bb_xgetlarg_bnd_sfx(const char *arg, int base, | |||
124 | #endif | 124 | #endif |
125 | 125 | ||
126 | #ifdef L_getlarg10_sfx | 126 | #ifdef L_getlarg10_sfx |
127 | extern | 127 | extern |
128 | long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes) | 128 | long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes) |
129 | { | 129 | { |
130 | return bb_xgetlarg_bnd_sfx(arg, 10, LONG_MIN, LONG_MAX, suffixes); | 130 | return bb_xgetlarg_bnd_sfx(arg, 10, LONG_MIN, LONG_MAX, suffixes); |
@@ -132,7 +132,7 @@ long bb_xgetlarg10_sfx(const char *arg, const struct suffix_mult *suffixes) | |||
132 | #endif | 132 | #endif |
133 | 133 | ||
134 | #ifdef L_xgetularg_bnd | 134 | #ifdef L_xgetularg_bnd |
135 | extern | 135 | extern |
136 | unsigned long bb_xgetularg_bnd(const char *arg, int base, | 136 | unsigned long bb_xgetularg_bnd(const char *arg, int base, |
137 | unsigned long lower, | 137 | unsigned long lower, |
138 | unsigned long upper) | 138 | unsigned long upper) |
@@ -142,7 +142,7 @@ unsigned long bb_xgetularg_bnd(const char *arg, int base, | |||
142 | #endif | 142 | #endif |
143 | 143 | ||
144 | #ifdef L_xgetularg10_bnd | 144 | #ifdef L_xgetularg10_bnd |
145 | extern | 145 | extern |
146 | unsigned long bb_xgetularg10_bnd(const char *arg, | 146 | unsigned long bb_xgetularg10_bnd(const char *arg, |
147 | unsigned long lower, | 147 | unsigned long lower, |
148 | unsigned long upper) | 148 | unsigned long upper) |
@@ -152,7 +152,7 @@ unsigned long bb_xgetularg10_bnd(const char *arg, | |||
152 | #endif | 152 | #endif |
153 | 153 | ||
154 | #ifdef L_xgetularg10 | 154 | #ifdef L_xgetularg10 |
155 | extern | 155 | extern |
156 | unsigned long bb_xgetularg10(const char *arg) | 156 | unsigned long bb_xgetularg10(const char *arg) |
157 | { | 157 | { |
158 | return bb_xgetularg10_bnd(arg, 0, ULONG_MAX); | 158 | return bb_xgetularg10_bnd(arg, 0, ULONG_MAX); |