Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e69f5e0 commit 8d1b805Copy full SHA for 8d1b805
src/common/string.c
@@ -47,7 +47,7 @@ pg_str_endswith(const char *str, const char *end)
47
* strtoint --- just like strtol, but returns int not long
48
*/
49
int
50
-strtoint(const char *restrict str, char **restrict endptr, int base)
+strtoint(const char *pg_restrict str, char **pg_restrict endptr, int base)
51
{
52
long val;
53
src/include/common/string.h
@@ -11,6 +11,7 @@
11
#define COMMON_STRING_H
12
13
extern bool pg_str_endswith(const char *str, const char *end);
14
-extern int strtoint(const char *restrict str, char **restrict endptr, int base);
+extern int strtoint(const char *pg_restrict str, char **pg_restrict endptr,
15
+ int base);
16
17
#endif /* COMMON_STRING_H */
0 commit comments