aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-18 10:32:09 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-18 10:32:09 +0000
commitc966ba46a9fb1bf3b3f697f4c838c284ce8ac040 (patch)
tree061c6758930f183d32b3182dbb1a403b5755b260 /include/libbb.h
parentf8384fa50c78bd3a03985aa24e67e09696965eda (diff)
downloadbusybox-w32-c966ba46a9fb1bf3b3f697f4c838c284ce8ac040.tar.gz
busybox-w32-c966ba46a9fb1bf3b3f697f4c838c284ce8ac040.tar.bz2
busybox-w32-c966ba46a9fb1bf3b3f697f4c838c284ce8ac040.zip
- move the smallint that is platform dependant to it's proper place
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 2d49289e4..2089d2322 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -223,17 +223,6 @@ struct sysinfo {
223extern int sysinfo(struct sysinfo* info); 223extern int sysinfo(struct sysinfo* info);
224 224
225 225
226/* Size-saving "small" ints (arch-dependent) */
227#if defined(i386) || defined(__x86_64__) || defined(__mips__) || defined(__cris__)
228/* add other arches which benefit from this... */
229typedef signed char smallint;
230typedef unsigned char smalluint;
231#else
232/* for arches where byte accesses generate larger code: */
233typedef int smallint;
234typedef unsigned smalluint;
235#endif
236
237 226
238extern void chomp(char *s); 227extern void chomp(char *s);
239extern void trim(char *s); 228extern void trim(char *s);