Few uncommon types removed

This commit is contained in:
Ianos Gnatiuc 2005-10-21 00:19:15 +00:00
parent c5734978fa
commit aaf04488fd
8 changed files with 562 additions and 572 deletions

View File

@ -129,12 +129,9 @@ typedef unsigned int uint32_t;
typedef int8_t sbyte; typedef int8_t sbyte;
typedef uint8_t byte; typedef uint8_t byte;
typedef int8_t schar;
typedef uint8_t uchar; typedef uint8_t uchar;
typedef int16_t sword;
typedef uint16_t word; typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort; typedef uint16_t ushort;
typedef uint32_t dword; typedef uint32_t dword;
@ -142,7 +139,6 @@ typedef uint32_t dword;
typedef uint8_t bit; typedef uint8_t bit;
typedef signed int sint;
typedef unsigned int uint; typedef unsigned int uint;
typedef uint32_t time32_t; /* 32-bit time_t type */ typedef uint32_t time32_t; /* 32-bit time_t type */

View File

@ -165,7 +165,7 @@ typedef word OFS;
// OBSOLETE! Only used for compatibility purposes // OBSOLETE! Only used for compatibility purposes
struct cl_rec { struct cl_rec {
sword priv; int16_t priv;
word max_time; // max cume time per day word max_time; // max cume time per day
word max_call; // max time for one call word max_call; // max time for one call
word max_dl; // max dl kbytes per day word max_dl; // max dl kbytes per day
@ -199,12 +199,12 @@ struct m_pointers {
// DATA // DATA
byte id; /* Always equal to 'M' STABLE */ byte id; /* Always equal to 'M' STABLE */
byte version; /* for safety STABLE */ byte version; /* for safety STABLE */
word heap_offset; /* OFFSET OF BEGINNING OF HEAP! STABLE */ word heap_offset; /* OFFSET OF BEGINNING OF HEAP! STABLE */
byte task_num; /* for multi-tasking systems STABLE */ byte task_num; /* for multi-tasking systems STABLE */
sword com_port; /* Com1=0, Com2=1, etc STABLE */ int16_t com_port; /* Com1=0, Com2=1, etc STABLE */
byte noise_ok; /* If yell noise is currently on STABLE */ byte noise_ok; /* If yell noise is currently on STABLE */
/* Miscellanious system information */ /* Miscellanious system information */
@ -214,8 +214,8 @@ struct m_pointers {
sbyte multitasker; /* flag for DoubleDos (see below) */ sbyte multitasker; /* flag for DoubleDos (see below) */
byte nlver; /* Which nodelist version we use (NLVER_XXX) */ byte nlver; /* Which nodelist version we use (NLVER_XXX) */
sword min_ulist; /* OBSOLETE! Only used for compatibility */ int16_t min_ulist; /* OBSOLETE! Only used for compatibility */
sword max_ulist; /* with Maximus 2.x! */ int16_t max_ulist; /* with Maximus 2.x! */
/* Information about errorlevels */ /* Information about errorlevels */
@ -226,8 +226,8 @@ struct m_pointers {
/* Modem information */ /* Modem information */
sword carrier_mask; int16_t carrier_mask;
sword handshake_mask; int16_t handshake_mask;
/* Log-on information */ /* Log-on information */
@ -250,7 +250,7 @@ struct m_pointers {
word speed_rip; /* min baud for rip graphics */ word speed_rip; /* min baud for rip graphics */
byte rsvd1[2]; /* used to be high_msgarea, begin_msgarea */ byte rsvd1[2]; /* used to be high_msgarea, begin_msgarea */
word unlisted_priv; /* Priv needed to send to unlisted node */ word unlisted_priv; /* Priv needed to send to unlisted node */
sword unlisted_cost; /* Charge to send to unlisted node */ int16_t unlisted_cost; /* Charge to send to unlisted node */
word mc_reply_priv; /* Priv to reply to msg with mailchecker */ word mc_reply_priv; /* Priv to reply to msg with mailchecker */
word mc_kill_priv; /* Priv to kill msg with mailchecker */ word mc_kill_priv; /* Priv to kill msg with mailchecker */
@ -258,7 +258,7 @@ struct m_pointers {
/* Information about file areas */ /* Information about file areas */
sword date_style; /* Used for FILES.BBS display */ int16_t date_style; /* Used for FILES.BBS display */
word rsvd20; /* Reserved (used to be dlall_priv) */ word rsvd20; /* Reserved (used to be dlall_priv) */
word rsvd21; /* Reserved (used to be ulbbs_priv) */ word rsvd21; /* Reserved (used to be ulbbs_priv) */
dword k_free; /* The number of disk space (in K) which * dword k_free; /* The number of disk space (in K) which *
@ -280,7 +280,7 @@ struct m_pointers {
/* Flags for external protocols */ /* Flags for external protocols */
sword protoexit; /* Errorlevel for protocol exit */ int16_t protoexit; /* Errorlevel for protocol exit */
char protoflag[MAX_EXTERNP]; char protoflag[MAX_EXTERNP];
/* General-purpose bit-flags (See FLAGx_xxx definitions above.) */ /* General-purpose bit-flags (See FLAGx_xxx definitions above.) */

View File

@ -37,12 +37,12 @@
// ------------------------------------------------------------------ // ------------------------------------------------------------------
// Pascal types // Pascal types
typedef unsigned char Boolean; typedef char Char;
typedef char Char; typedef uint8_t Byte;
typedef unsigned char Byte; typedef uint8_t Boolean;
typedef short Integer; typedef int16_t Integer;
typedef unsigned short Word; typedef uint16_t Word;
typedef long LongInt; typedef int32_t LongInt;
// ------------------------------------------------------------------ // ------------------------------------------------------------------

View File

@ -339,11 +339,13 @@ typedef struct {
// RemoteAccess 2.00 GAMMA, USERS.BBS structure // RemoteAccess 2.00 GAMMA, USERS.BBS structure
// Some Pascal types // Some Pascal types
typedef char Char; typedef char Char;
typedef unsigned char Byte; typedef uint8_t Byte;
typedef unsigned short Word; typedef uint8_t Boolean;
typedef signed short Integer; typedef int16_t Integer;
typedef signed long LongInt; typedef uint16_t Word;
typedef int32_t LongInt;
typedef Byte FlagType[4]; typedef Byte FlagType[4];
typedef Char Time[6]; typedef Char Time[6];
typedef Char Date[9]; typedef Char Date[9];

View File

@ -43,12 +43,12 @@
// //
// ------------------------------------------------------------------ // ------------------------------------------------------------------
typedef unsigned char Boolean; typedef char Char;
typedef char Char; typedef uint8_t Byte;
typedef unsigned char Byte; typedef uint8_t Boolean;
typedef unsigned short Word; typedef int16_t Integer;
typedef signed short Integer; typedef uint16_t Word;
typedef signed long LongInt; typedef int32_t LongInt;
typedef Byte FlagType[4]; typedef Byte FlagType[4];
typedef Char ra_Time[6]; typedef Char ra_Time[6];

File diff suppressed because it is too large Load Diff

View File

@ -36,9 +36,7 @@ typedef uint8_t bit;
typedef int8_t sbyte; typedef int8_t sbyte;
typedef uint8_t byte; typedef uint8_t byte;
typedef int16_t sword;
typedef uint16_t word; typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort; typedef uint16_t ushort;
typedef uint32_t dword; typedef uint32_t dword;

View File

@ -68,7 +68,6 @@ typedef unsigned int uint32_t;
#include <stdint.h> #include <stdint.h>
#endif //#ifdef _MSC_VER #endif //#ifdef _MSC_VER
typedef signed int sint;
typedef unsigned int uint; typedef unsigned int uint;
typedef uint8_t bit; typedef uint8_t bit;
@ -76,9 +75,7 @@ typedef uint8_t bit;
typedef int8_t sbyte; typedef int8_t sbyte;
typedef uint8_t byte; typedef uint8_t byte;
typedef int16_t sword;
typedef uint16_t word; typedef uint16_t word;
typedef int16_t sshort;
typedef uint16_t ushort; typedef uint16_t ushort;
typedef uint32_t dword; typedef uint32_t dword;