aboutsummaryrefslogtreecommitdiff
path: root/src/common/string.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-03-15 10:02:51 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-03-15 10:02:59 -0300
commit8d1b805fcc57be47d3269a13eb01d993fe768295 (patch)
tree3ee51009a6f645b5fc399350c98b780a1ba37b54 /src/common/string.c
parente69f5e0efcaf3f26381e56a1507cdf401bf1bdfd (diff)
downloadpostgresql-8d1b805fcc57be47d3269a13eb01d993fe768295.tar.gz
postgresql-8d1b805fcc57be47d3269a13eb01d993fe768295.zip
restrict -> pg_restrict
So that it works on MSVC, too. Author: Michaƫl Paquier Discussion: https://postgr.es/m/29889.1520968202@sss.pgh.pa.us
Diffstat (limited to 'src/common/string.c')
-rw-r--r--src/common/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/string.c b/src/common/string.c
index a45e9b88580..3260d37a84e 100644
--- a/src/common/string.c
+++ b/src/common/string.c
@@ -47,7 +47,7 @@ pg_str_endswith(const char *str, const char *end)
* strtoint --- just like strtol, but returns int not long
*/
int
-strtoint(const char *restrict str, char **restrict endptr, int base)
+strtoint(const char *pg_restrict str, char **pg_restrict endptr, int base)
{
long val;