summaryrefslogtreecommitdiff
path: root/Solaris/sparc
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2012-03-04 23:30:18 +0000
committerforsyth <forsyth@vitanuova.com>2012-03-04 23:30:18 +0000
commitad4c862fd80d3ad38a6464a9ea169a78354a77fc (patch)
tree60bb8dc30248caf99b198989152aca6898352cf9 /Solaris/sparc
parent1e1b493dfc048d301ef6b41377f0a3665ee7f3fc (diff)
20120304-2330
Diffstat (limited to 'Solaris/sparc')
-rw-r--r--Solaris/sparc/include/lib9.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Solaris/sparc/include/lib9.h b/Solaris/sparc/include/lib9.h
index a79cd72b..7f93cdad 100644
--- a/Solaris/sparc/include/lib9.h
+++ b/Solaris/sparc/include/lib9.h
@@ -40,6 +40,15 @@ typedef unsigned short u16int;
typedef unsigned char u8int;
typedef unsigned long uintptr;
+typedef signed char int8;
+typedef unsigned char uint8;
+typedef short int16;
+typedef unsigned short uint16;
+typedef int int32;
+typedef unsigned int uint32;
+typedef long long int64;
+typedef unsigned long long uint64;
+
#define USED(x) if(x){}else{}
#define SET(x)
@@ -265,6 +274,8 @@ extern double modf(double, double*);
#define pow10 infpow10
extern double pow10(int);
extern vlong strtoll(const char*, char**, int);
+#define qsort infqsort
+extern void qsort(void*, long, long, int (*)(void*, void*));
extern uvlong strtoull(const char*, char**, int);
extern void sysfatal(char*, ...);
extern int dec64(uchar*, int, char*, int);