mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +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:
@ -11,6 +11,7 @@
|
||||
#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 */
|
||||
|
Reference in New Issue
Block a user