1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Compile and warning cleanup

This commit is contained in:
Bruce Momjian
1996-11-08 06:02:30 +00:00
parent d79bb2fd0e
commit 4b2b8592a0
85 changed files with 342 additions and 228 deletions

View File

@ -47,6 +47,7 @@ static char sccsid[] = "@(#)regcomp.c 8.5 (Berkeley) 3/20/94";
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
#include <assert.h>
#include <regex/regex.h>
#include <regex/utils.h>
@ -284,8 +285,8 @@ register struct parse *p;
int stop; /* character this ERE should end at */
{
register char c;
register sopno prevback;
register sopno prevfwd;
register sopno prevback = 0;
register sopno prevfwd = 0;
register sopno conc;
register int first = 1; /* is this the first alternative? */
@ -1592,8 +1593,8 @@ struct parse *p;
register struct re_guts *g;
{
register sop *scan;
sop *start;
register sop *newstart;
sop *start = 0;
register sop *newstart = 0;
register sopno newlen;
register sop s;
register char *cp;

View File

@ -47,6 +47,7 @@ static char sccsid[] = "@(#)regerror.c 8.4 (Berkeley) 3/20/94";
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
#include <assert.h>
#include <regex/regex.h>
#include <regex/utils.h>

View File

@ -54,6 +54,7 @@ static char sccsid[] = "@(#)regexec.c 8.3 (Berkeley) 3/20/94";
#include <string.h>
#include <limits.h>
#include <ctype.h>
#include <assert.h>
#include <regex/regex.h>
#include <regex/utils.h>