projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d381e
)
Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.
author
Tom Lane
<
[email protected]
>
Sat, 16 Jul 2005 15:24:08 +0000
(15:24 +0000)
committer
Tom Lane
<
[email protected]
>
Sat, 16 Jul 2005 15:24:08 +0000
(15:24 +0000)
contrib/seg/segparse.y
patch
|
blob
|
blame
|
history
diff --git
a/contrib/seg/segparse.y
b/contrib/seg/segparse.y
index 2879ca2cc6735df5225ef1f1ea76b0370e8ef732..9bd972f2c4d63300ce45573f6275eef2106f43f7 100644
(file)
--- a/
contrib/seg/segparse.y
+++ b/
contrib/seg/segparse.y
@@
-4,6
+4,7
@@
#include <string.h>
#include <stdlib.h>
+#include <errno.h>
#include <math.h>
#include "segdata.h"
#include "buffer.h"
@@
-18,7
+19,6
@@
#undef yylex /* falure to redefine yylex will result in calling the */
#define yylex seg_yylex /* wrong scanner when running inside postgres backend */
- extern int errno;
extern int yylex(); /* defined as seg_yylex in segscan.c */
extern int significant_digits( char *str ); /* defined in seg.c */