ttweaks. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 2db9e4821d8ae4889e63e5bb205b04eccb7af405 (DIR) parent cedbe4a4fa2214cd1fb1a708a9fa3034d5a911ef (HTM) Author: rsc <devnull@localhost> Date: Mon, 24 Nov 2003 20:16:30 +0000 ttweaks. Diffstat: M include/venti.h | 3 ++- M src/libfmt/nan64.c | 2 +- M src/libthread/threadimpl.h | 5 ----- 3 files changed, 3 insertions(+), 7 deletions(-) --- (DIR) diff --git a/include/venti.h b/include/venti.h t@@ -50,10 +50,11 @@ enum { VtScoreSize = 20, VtMaxStringSize = 1024, - VtMaxFileSize = (1ULL<<48) - 1, VtMaxLumpSize = 56*1024, VtPointerDepth = 7, }; +#define VtMaxFileSize ((1ULL<<48)-1) + /* * Strings in packets. (DIR) diff --git a/src/libfmt/nan64.c b/src/libfmt/nan64.c t@@ -10,7 +10,7 @@ typedef unsigned long long uvlong; typedef unsigned long ulong; -#ifdef NEEDLL +#ifdef _NEEDLL static uvlong uvnan = 0x7FF0000000000001LL; static uvlong uvinf = 0x7FF0000000000000LL; static uvlong uvneginf = 0xFFF0000000000000LL; (DIR) diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h t@@ -24,11 +24,6 @@ #include <thread.h> #include "label.h" -enum{ -STKSIZE = 16384, -STKMAGIC = 0xCAFEBEEF -}; - typedef struct Thread Thread; typedef struct Proc Proc; typedef struct Tqueue Tqueue;