← Commit list

c966ba46a

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2007-01-18
FAILED Duration: 3s

Subject

- move the smallint that is platform dependant to it's proper place

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/libbb.h+0 -11
@@ -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);
include/platform.h+11 -0
@@ -172,6 +172,17 @@ typedef unsigned long long int uintmax_t;
#endif
#endif
+/* 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
+
/* uclibc does not implement daemon() for no-mmu systems.
* For 0.9.29 and svn, __ARCH_USE_MMU__ indicates no-mmu reliably.
* For earlier versions there is no reliable way to check if we are building