Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a6d3b5b

Browse files
author
Neil Conway
committed
Mark unescape_single_char() "static": as far as I can see this function
is only used by scan.l/scan.c
1 parent ea9eca2 commit a6d3b5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/parser/scan.l

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Portions Copyright (c) 1994, Regents of the University of California
2525
*
2626
* IDENTIFICATION
27-
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.128 2005/08/16 00:48:12 tgl Exp $
27+
* $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.129 2006/02/18 01:44:35 neilc Exp $
2828
*
2929
*-------------------------------------------------------------------------
3030
*/
@@ -93,7 +93,7 @@ static char *token_start;
9393
static YY_BUFFER_STATE scanbufhandle;
9494
static char *scanbuf;
9595

96-
unsigned char unescape_single_char(unsigned char c);
96+
static unsigned char unescape_single_char(unsigned char c);
9797

9898
%}
9999

@@ -855,7 +855,7 @@ litbufdup(void)
855855
}
856856

857857

858-
unsigned char
858+
static unsigned char
859859
unescape_single_char(unsigned char c)
860860
{
861861
switch (c)

0 commit comments

Comments
 (0)