projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be5a816
)
Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.
author
Tom Lane
<
[email protected]
>
Sat, 16 Jul 2005 15:23:37 +0000
(15:23 +0000)
committer
Tom Lane
<
[email protected]
>
Sat, 16 Jul 2005 15:23:37 +0000
(15:23 +0000)
contrib/seg/segparse.y
patch
|
blob
|
blame
|
history
diff --git
a/contrib/seg/segparse.y
b/contrib/seg/segparse.y
index 67f5b9f43dd51b300915126a6b0eda795ae447f2..8a8b37b2b404421c838048ba8aafea8a7a512352 100644
(file)
--- a/
contrib/seg/segparse.y
+++ b/
contrib/seg/segparse.y
@@
-3,6
+3,7
@@
#include "postgres.h"
+#include <errno.h>
#include <math.h>
#include "utils/elog.h"
@@
-17,7
+18,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 */