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

Lines changed: 3 additions & 3 deletions
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)
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