Skip to content

Commit c969e30

Browse files
committed
Fix bogus "extern int errno;" in back branches, per Andrew Dunstan.
1 parent 91d381e commit c969e30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/seg/segparse.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <string.h>
66
#include <stdlib.h>
7+
#include <errno.h>
78
#include <math.h>
89
#include "segdata.h"
910
#include "buffer.h"
@@ -18,7 +19,6 @@
1819
#undef yylex /* falure to redefine yylex will result in calling the */
1920
#define yylex seg_yylex /* wrong scanner when running inside postgres backend */
2021

21-
extern int errno;
2222
extern int yylex(); /* defined as seg_yylex in segscan.c */
2323
extern int significant_digits( char *str ); /* defined in seg.c */
2424

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy