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-c966ba46a9fb1bf3b3f697f4c838c284ce8ac040.tar.gz
- 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 {
extern int sysinfo(struct sysinfo* info);
-/* Size-saving "small" ints (arch-dependent) */
-#if defined(i386) || defined(__x86_64__) || defined(__mips__) || defined(__cris__)
-/* add other arches which benefit from this... */
-typedef signed char smallint;
-typedef unsigned char smalluint;
-#else
-/* for arches where byte accesses generate larger code: */
-typedef int smallint;
-typedef unsigned smalluint;
-#endif
-
extern void chomp(char *s);
extern void trim(char *s);