From a6d3b5b944cfcb6a2687b112621b76f6b3c9bcd8 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Sat, 18 Feb 2006 01:44:35 +0000 Subject: [PATCH] Mark unescape_single_char() "static": as far as I can see this function is only used by scan.l/scan.c --- src/backend/parser/scan.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l index 2a56c44a56..dd0bbaa5fd 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l @@ -24,7 +24,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.128 2005/08/16 00:48:12 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.129 2006/02/18 01:44:35 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -93,7 +93,7 @@ static char *token_start; static YY_BUFFER_STATE scanbufhandle; static char *scanbuf; -unsigned char unescape_single_char(unsigned char c); +static unsigned char unescape_single_char(unsigned char c); %} @@ -855,7 +855,7 @@ litbufdup(void) } -unsigned char +static unsigned char unescape_single_char(unsigned char c) { switch (c)