So that it works on MSVC, too.
Author: Michaƫl Paquier
Discussion: https://postgr.es/m/29889.
1520968202@sss.pgh.pa.us
* 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;
#define COMMON_STRING_H
extern bool pg_str_endswith(const char *str, const char *end);
-extern int strtoint(const char *restrict str, char **restrict endptr, int base);
+extern int strtoint(const char *pg_restrict str, char **pg_restrict endptr,
+ int base);
#endif /* COMMON_STRING_H */