mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user