This commit is contained in:
Russ Cox
2006-01-17 13:55:02 +00:00
parent f60d3735c6
commit 5572ebf9ed
8 changed files with 16 additions and 152 deletions

View File

@@ -3,8 +3,7 @@
#define listen pm_listen
#define sleep ksleep
#define wakeup kwakeup
#define strtod libstrtod
#define pow10 libpow10
#define strtod fmtstrtod
/* conflicts on some os's */
#define encrypt libencrypt
@@ -200,7 +199,8 @@ enum{
FmtComma = FmtVLong << 1,
FmtByte = FmtComma << 1,
FmtFlag = FmtByte << 1
FmtFlag = FmtByte << 1,
FmtLDouble = FmtFlag << 1
};
extern int print(char*, ...);
@@ -253,8 +253,10 @@ void hnputs(void *p, unsigned short v);
extern int dofmt(Fmt*, char*);
extern double __NaN(void);
extern int __isNaN(double);
extern double strtod(char*, char**);
extern double strtod(const char*, char**);
extern int utfnlen(char*, long);
extern double __Inf(int);
extern int __isInf(double, int);
extern double pow10(int);
extern int (*fmtdoquote)(int);

View File

@@ -8,7 +8,10 @@
#include <assert.h>
#include <unistd.h>
#include <stdarg.h>
#include <inttypes.h>
#include <ctype.h>
#include <errno.h>
typedef long long p9_vlong;
typedef unsigned long long p9_uvlong;
typedef uintptr_t uintptr;