Commit 3ac9d2ff authored by Bruce Momjian's avatar Bruce Momjian

Various compile errors concerning overflow due to shifts, unsigned, and bad...

Various compile errors concerning overflow due to shifts, unsigned, and bad prototypes, from Solaris, from Diab Jerius
parent 8447148a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.4 1996/11/08 00:44:32 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/pg_aggregate.c,v 1.5 1997/07/24 20:11:47 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -269,7 +269,6 @@ AggNameGetInitVal(char *aggName, Oid basetype, int xfuncno, bool *isNull) ...@@ -269,7 +269,6 @@ AggNameGetInitVal(char *aggName, Oid basetype, int xfuncno, bool *isNull)
Oid transtype; Oid transtype;
text *textInitVal; text *textInitVal;
char *strInitVal, *initVal; char *strInitVal, *initVal;
extern char *textout();
Assert(PointerIsValid(aggName)); Assert(PointerIsValid(aggName));
Assert(PointerIsValid(isNull)); Assert(PointerIsValid(isNull));
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: geqo_params.c,v 1.2 1997/02/19 14:52:04 scrappy Exp $ * $Id: geqo_params.c,v 1.3 1997/07/24 20:12:15 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <time.h> #include <time.h>
#include <math.h> #include <math.h>
#include <ctype.h> #include <ctype.h>
#include <string.h>
#include "postgres.h" #include "postgres.h"
#include "miscadmin.h" #include "miscadmin.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.18 1997/05/22 00:14:41 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.19 1997/07/24 20:13:01 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1477,7 +1477,6 @@ op_error(char *op, Oid arg1, Oid arg2) ...@@ -1477,7 +1477,6 @@ op_error(char *op, Oid arg1, Oid arg2)
void void
func_error(char *caller, char *funcname, int nargs, Oid *argtypes) func_error(char *caller, char *funcname, int nargs, Oid *argtypes)
{ {
Type get_id_type();
char p[(NAMEDATALEN+2)*MAXFMGRARGS], *ptr; char p[(NAMEDATALEN+2)*MAXFMGRARGS], *ptr;
int i; int i;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.18 1997/02/14 04:15:49 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/parser.c,v 1.19 1997/07/24 20:13:21 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -447,7 +447,7 @@ ParseAgg(char *aggname, Oid basetype, Node *target) ...@@ -447,7 +447,7 @@ ParseAgg(char *aggname, Oid basetype, Node *target)
vartype = ((Expr*)target)->typeOid; vartype = ((Expr*)target)->typeOid;
if (basetype != vartype) { if (basetype != vartype) {
Type tp1, tp2, get_id_type(); Type tp1, tp2;
tp1 = get_id_type(basetype); tp1 = get_id_type(basetype);
tp2 = get_id_type(vartype); tp2 = get_id_type(vartype);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.2 1996/11/10 03:01:55 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteDefine.c,v 1.3 1997/07/24 20:13:33 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -192,8 +192,6 @@ DefineQueryRewrite(RuleStmt *stmt) ...@@ -192,8 +192,6 @@ DefineQueryRewrite(RuleStmt *stmt)
Oid event_attype = 0; Oid event_attype = 0;
char *actionP, *event_qualP; char *actionP, *event_qualP;
extern Oid att_typeid();
if (event_obj->attrs) if (event_obj->attrs)
eslot_string = strVal(lfirst(event_obj->attrs)); eslot_string = strVal(lfirst(event_obj->attrs));
else else
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.13 1997/04/18 08:30:08 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.14 1997/07/24 20:13:48 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1131,7 +1131,6 @@ BufferPoolCheckLeak() ...@@ -1131,7 +1131,6 @@ BufferPoolCheckLeak()
{ {
register int i; register int i;
int error = 0; int error = 0;
void PrintBufferDescs();
for (i = 1; i <= NBuffers; i++) { for (i = 1; i <= NBuffers; i++) {
if (BufferIsValid(i)) { if (BufferIsValid(i)) {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.3 1996/11/06 06:49:10 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinvaladt.c,v 1.4 1997/07/24 20:14:15 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -481,12 +481,6 @@ SISetDataEntry(SISeg *segP, SharedInvalidData *data) ...@@ -481,12 +481,6 @@ SISetDataEntry(SISeg *segP, SharedInvalidData *data)
{ {
Offset offsetToNewData; Offset offsetToNewData;
SISegEntry *eP, *lastP; SISegEntry *eP, *lastP;
bool SISegFull();
Offset SIEntryOffset();
Offset SIGetStartFreeSpace();
SISegEntry *SIGetFirstDataEntry();
SISegEntry *SIGetNextDataEntry();
SISegEntry *SIGetLastDataEntry();
if (!SIIncNumEntries(segP, 1)) if (!SIIncNumEntries(segP, 1))
return(false); /* no space */ return(false); /* no space */
...@@ -542,7 +536,6 @@ bool ...@@ -542,7 +536,6 @@ bool
SIDelDataEntry(SISeg *segP) SIDelDataEntry(SISeg *segP)
{ {
SISegEntry *e1P; SISegEntry *e1P;
SISegEntry *SIGetFirstDataEntry();
if (!SIDecNumEntries(segP, 1)) { if (!SIDecNumEntries(segP, 1)) {
/* no entries in buffer */ /* no entries in buffer */
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.13 1997/05/22 17:08:33 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.14 1997/07/24 20:14:41 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -114,7 +114,6 @@ mdcreate(Relation reln) ...@@ -114,7 +114,6 @@ mdcreate(Relation reln)
{ {
int fd, vfd; int fd, vfd;
char *path; char *path;
extern bool IsBootstrapProcessingMode();
path = relpath(&(reln->rd_rel->relname.data[0])); path = relpath(&(reln->rd_rel->relname.data[0]));
fd = FileNameOpenFile(path, O_RDWR|O_CREAT|O_EXCL, 0600); fd = FileNameOpenFile(path, O_RDWR|O_CREAT|O_EXCL, 0600);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.33 1997/04/24 03:39:09 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.34 1997/07/24 20:15:03 momjian Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include "executor/execdebug.h" #include "executor/execdebug.h"
#include "executor/executor.h" #include "executor/executor.h"
#include "nodes/relation.h" #include "nodes/relation.h"
#include "nodes/print.h"
#include "optimizer/cost.h" #include "optimizer/cost.h"
#include "optimizer/planner.h" #include "optimizer/planner.h"
...@@ -1270,7 +1271,7 @@ PostgresMain(int argc, char *argv[]) ...@@ -1270,7 +1271,7 @@ PostgresMain(int argc, char *argv[])
*/ */
if (IsUnderPostmaster == false) { if (IsUnderPostmaster == false) {
puts("\nPOSTGRES backend interactive interface"); puts("\nPOSTGRES backend interactive interface");
puts("$Revision: 1.33 $ $Date: 1997/04/24 03:39:09 $"); puts("$Revision: 1.34 $ $Date: 1997/07/24 20:15:03 $");
} }
/* ---------------- /* ----------------
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.17 1997/05/22 00:15:36 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.18 1997/07/24 20:15:18 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -476,7 +476,6 @@ ProcessUtility(Node *parsetree, ...@@ -476,7 +476,6 @@ ProcessUtility(Node *parsetree,
{ {
char *viewName = stmt->name; char *viewName = stmt->name;
char *ruleName; char *ruleName;
extern char *RewriteGetRuleEventRel();
#ifndef NO_SECURITY #ifndef NO_SECURITY
...@@ -587,7 +586,7 @@ ProcessUtility(Node *parsetree, ...@@ -587,7 +586,7 @@ ProcessUtility(Node *parsetree,
case T_LoadStmt: case T_LoadStmt:
{ {
LoadStmt *stmt = (LoadStmt *)parsetree; LoadStmt *stmt = (LoadStmt *)parsetree;
FILE *fp, *fopen(); FILE *fp;
char *filename; char *filename;
commandTag = "LOAD"; commandTag = "LOAD";
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.9 1997/07/10 02:27:27 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.10 1997/07/24 20:15:36 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -86,7 +86,6 @@ aclparse(char *s, AclItem *aip, unsigned *modechg) ...@@ -86,7 +86,6 @@ aclparse(char *s, AclItem *aip, unsigned *modechg)
{ {
HeapTuple htp; HeapTuple htp;
char name[NAMEDATALEN+1]; char name[NAMEDATALEN+1];
extern AclId get_grosysid();
Assert(s && aip && modechg); Assert(s && aip && modechg);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.10 1996/11/08 05:59:38 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.11 1997/07/24 20:15:45 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1203,7 +1203,7 @@ _ArrayRange(int st[], ...@@ -1203,7 +1203,7 @@ _ArrayRange(int st[],
int n, *dim, *lb, st_pos, prod[MAXDIM]; int n, *dim, *lb, st_pos, prod[MAXDIM];
int span[MAXDIM], dist[MAXDIM], indx[MAXDIM]; int span[MAXDIM], dist[MAXDIM], indx[MAXDIM];
int i, j, inc; int i, j, inc;
char *srcPtr, *array_seek(); char *srcPtr;
n = ARR_NDIM(array); dim = ARR_DIMS(array); n = ARR_NDIM(array); dim = ARR_DIMS(array);
lb = ARR_LBOUND(array); srcPtr = ARR_DATA_PTR(array); lb = ARR_LBOUND(array); srcPtr = ARR_DATA_PTR(array);
...@@ -1232,7 +1232,7 @@ _ArrayClipCount(int stI[], int endpI[], ArrayType *array) ...@@ -1232,7 +1232,7 @@ _ArrayClipCount(int stI[], int endpI[], ArrayType *array)
int span[MAXDIM], dist[MAXDIM], indx[MAXDIM]; int span[MAXDIM], dist[MAXDIM], indx[MAXDIM];
int i, j, inc, st[MAXDIM], endp[MAXDIM]; int i, j, inc, st[MAXDIM], endp[MAXDIM];
int count = 0; int count = 0;
char *ptr, *array_seek(); char *ptr;
n = ARR_NDIM(array); dim = ARR_DIMS(array); n = ARR_NDIM(array); dim = ARR_DIMS(array);
lb = ARR_LBOUND(array); ptr = ARR_DATA_PTR(array); lb = ARR_LBOUND(array); ptr = ARR_DATA_PTR(array);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.28 1997/07/08 22:06:36 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/dt.c,v 1.29 1997/07/24 20:15:53 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1703,8 +1703,8 @@ printf( "datetime_zone- zone %s type=%d value=%d\n", lowzone, type, val); ...@@ -1703,8 +1703,8 @@ printf( "datetime_zone- zone %s type=%d value=%d\n", lowzone, type, val);
*****************************************************************************/ *****************************************************************************/
/* definitions for squeezing values into "value" */ /* definitions for squeezing values into "value" */
#define ABS_SIGNBIT 0200 #define ABS_SIGNBIT (char) 0200
#define VALMASK 0177 #define VALMASK (char) 0177
#define NEG(n) ((n)|ABS_SIGNBIT) #define NEG(n) ((n)|ABS_SIGNBIT)
#define SIGNEDCHAR(c) ((c)&ABS_SIGNBIT? -((c)&VALMASK): (c)) #define SIGNEDCHAR(c) ((c)&ABS_SIGNBIT? -((c)&VALMASK): (c))
#define FROMVAL(tp) (-SIGNEDCHAR((tp)->value) * 10) /* uncompress */ #define FROMVAL(tp) (-SIGNEDCHAR((tp)->value) * 10) /* uncompress */
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.6 1997/02/14 04:17:47 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.7 1997/07/24 20:16:11 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
char * char *
filename_in(char *file) filename_in(char *file)
{ {
char *str, *getenv(); char *str;
int ind = 0; int ind = 0;
/* /*
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.6 1997/03/14 23:20:52 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/adt/oid.c,v 1.7 1997/07/24 20:16:17 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -84,15 +84,11 @@ char *oid8out(Oid (*oidArray)[]) ...@@ -84,15 +84,11 @@ char *oid8out(Oid (*oidArray)[])
Oid oidin(char *s) Oid oidin(char *s)
{ {
extern int32 int4in();
return(int4in(s)); return(int4in(s));
} }
char *oidout(Oid o) char *oidout(Oid o)
{ {
extern char *int4out();
return(int4out(o)); return(int4out(o));
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.15 1997/03/18 21:40:39 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.16 1997/07/24 20:16:32 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -50,7 +50,6 @@ elog(int lev, const char *fmt, ... ) ...@@ -50,7 +50,6 @@ elog(int lev, const char *fmt, ... )
#ifndef PG_STANDALONE #ifndef PG_STANDALONE
extern FILE *Pfout; extern FILE *Pfout;
#endif /* !PG_STANDALONE */ #endif /* !PG_STANDALONE */
time_t time();
#ifdef ELOG_TIMESTAMPS #ifdef ELOG_TIMESTAMPS
time_t tim; time_t tim;
#endif #endif
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.6 1997/02/14 04:18:02 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.7 1997/07/24 20:16:59 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -53,7 +53,7 @@ fmgr_dynamic(Oid procedureId, int *pronargs) ...@@ -53,7 +53,7 @@ fmgr_dynamic(Oid procedureId, int *pronargs)
Form_pg_proc procedureStruct; Form_pg_proc procedureStruct;
char *proname; char *proname;
char *probinattr, *probinstring; char *probinattr, *probinstring;
func_ptr user_fn, handle_load(); func_ptr user_fn;
Relation rdesc; Relation rdesc;
bool isnull; bool isnull;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.8 1997/02/14 04:18:20 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.9 1997/07/24 20:17:34 momjian Exp $
* *
* NOTES * NOTES
* InitPostgres() is the function called from PostgresMain * InitPostgres() is the function called from PostgresMain
...@@ -354,7 +354,6 @@ InitUserid() ...@@ -354,7 +354,6 @@ InitUserid()
void void
InitCommunication() InitCommunication()
{ {
char *getenv(); /* XXX style */
char *postid; char *postid;
char *postport; char *postport;
IPCKey key = 0; IPCKey key = 0;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.4 1997/05/20 11:35:50 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.5 1997/07/24 20:18:07 momjian Exp $
* *
* NOTES * NOTES
* Sorts the first relation into the second relation. The sort may * Sorts the first relation into the second relation. The sort may
...@@ -525,7 +525,6 @@ gettape() ...@@ -525,7 +525,6 @@ gettape()
register struct tapelst *tp; register struct tapelst *tp;
FILE *file; FILE *file;
static int tapeinit = 0; static int tapeinit = 0;
char *mktemp();
tp = (struct tapelst *)palloc((unsigned)sizeof (struct tapelst)); tp = (struct tapelst *)palloc((unsigned)sizeof (struct tapelst));
if (!tapeinit) { if (!tapeinit) {
......
...@@ -87,26 +87,26 @@ typedef long sopno; ...@@ -87,26 +87,26 @@ typedef long sopno;
#define SOP(op, opnd) ((op)|(opnd)) #define SOP(op, opnd) ((op)|(opnd))
/* operators meaning operand */ /* operators meaning operand */
/* (back, fwd are offsets) */ /* (back, fwd are offsets) */
#define OEND (1<<OPSHIFT) /* endmarker - */ #define OEND ((size_t)1<<OPSHIFT) /* endmarker - */
#define OCHAR (2<<OPSHIFT) /* character unsigned char */ #define OCHAR ((size_t)2<<OPSHIFT) /* character unsigned char */
#define OBOL (3<<OPSHIFT) /* left anchor - */ #define OBOL ((size_t)3<<OPSHIFT) /* left anchor - */
#define OEOL (4<<OPSHIFT) /* right anchor - */ #define OEOL ((size_t)4<<OPSHIFT) /* right anchor - */
#define OANY (5<<OPSHIFT) /* . - */ #define OANY ((size_t)5<<OPSHIFT) /* . - */
#define OANYOF (6<<OPSHIFT) /* [...] set number */ #define OANYOF ((size_t)6<<OPSHIFT) /* [...] set number */
#define OBACK_ (7<<OPSHIFT) /* begin \d paren number */ #define OBACK_ ((size_t)7<<OPSHIFT) /* begin \d paren number */
#define O_BACK (8<<OPSHIFT) /* end \d paren number */ #define O_BACK ((size_t)8<<OPSHIFT) /* end \d paren number */
#define OPLUS_ (9<<OPSHIFT) /* + prefix fwd to suffix */ #define OPLUS_ ((size_t)9<<OPSHIFT) /* + prefix fwd to suffix */
#define O_PLUS (10<<OPSHIFT) /* + suffix back to prefix */ #define O_PLUS ((size_t)10<<OPSHIFT) /* + suffix back to prefix */
#define OQUEST_ (11<<OPSHIFT) /* ? prefix fwd to suffix */ #define OQUEST_ ((size_t)11<<OPSHIFT) /* ? prefix fwd to suffix */
#define O_QUEST (12<<OPSHIFT) /* ? suffix back to prefix */ #define O_QUEST ((size_t)12<<OPSHIFT) /* ? suffix back to prefix */
#define OLPAREN (13<<OPSHIFT) /* ( fwd to ) */ #define OLPAREN ((size_t)13<<OPSHIFT) /* ( fwd to ) */
#define ORPAREN (14<<OPSHIFT) /* ) back to ( */ #define ORPAREN ((size_t)14<<OPSHIFT) /* ) back to ( */
#define OCH_ (15<<OPSHIFT) /* begin choice fwd to OOR2 */ #define OCH_ ((size_t)15<<OPSHIFT) /* begin choice fwd to OOR2 */
#define OOR1 (16<<OPSHIFT) /* | pt. 1 back to OOR1 or OCH_ */ #define OOR1 ((size_t)16<<OPSHIFT) /* | pt. 1 back to OOR1 or OCH_ */
#define OOR2 (17<<OPSHIFT) /* | pt. 2 fwd to OOR2 or O_CH */ #define OOR2 ((size_t)17<<OPSHIFT) /* | pt. 2 fwd to OOR2 or O_CH */
#define O_CH (18<<OPSHIFT) /* end choice back to OOR1 */ #define O_CH ((size_t)18<<OPSHIFT) /* end choice back to OOR1 */
#define OBOW (19<<OPSHIFT) /* begin word - */ #define OBOW ((size_t)19<<OPSHIFT) /* begin word - */
#define OEOW (20<<OPSHIFT) /* end word - */ #define OEOW ((size_t)20<<OPSHIFT) /* end word - */
/* /*
* Structure for [] character-set representation. Character sets are * Structure for [] character-set representation. Character sets are
......
AROPT:crs AROPT:crs
CFLAGS:-I$(SRCDIR)/backend/port/sparc_solaris CFLAGS:-I$(SRCDIR)/backend/port/sparc_solaris -Xa -v
SHARED_LIB:-K PIC SHARED_LIB:-K PIC
ALL: ALL:
SRCH_INC: SRCH_INC:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment