Use STATIC=static for watcom C (statics are in the mapfile); remove

some cruft.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@686 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-09-15 10:40:11 +00:00
parent f8f0891503
commit 0aba4bc7fb
2 changed files with 1 additions and 4 deletions

View File

@ -112,9 +112,6 @@ static BYTE *device_hRcsId =
#ifndef FALSE #ifndef FALSE
#define FALSE 0 #define FALSE 0
#endif #endif
#define mk_offset(far_ptr) ((UWORD)(far_ptr))
#define mk_segment(far_ptr) ((UWORD)((ULONG)(far_ptr) >> 16))
#define far_ptr(seg, off) ((VOID FAR *)(((ULONG)(off))+((ULONG)(seg) << 16)))
/* /*
* structures * structures

View File

@ -194,7 +194,7 @@ typedef unsigned short CLUSTER;
#endif #endif
typedef unsigned short UNICODE; typedef unsigned short UNICODE;
#ifdef STATICS #if defined(STATICS) || defined(__WATCOMC__)
#define STATIC static /* local calls inside module */ #define STATIC static /* local calls inside module */
#else #else
#define STATIC #define STATIC