1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Avoid use of inline functions that are not declared static. Needed to

conform to C99's brain-dead notion of how inline functions should work.
This commit is contained in:
Tom Lane
2002-10-31 19:11:48 +00:00
parent 2982b97f71
commit 5936055d46
2 changed files with 34 additions and 17 deletions

View File

@ -49,9 +49,10 @@ char *subarg = NULL;
char escape_buff[8192];
void do_substitute(char *subarg, dbhead * dbh);
inline void strtoupper(char *string);
inline void strtolower(char *string);
static inline void strtoupper(char *string);
static inline void strtolower(char *string);
void do_create(PGconn *, char *, dbhead *);
void do_inserts(PGconn *, char *, dbhead *);
int check_table(PGconn *, char *);
@ -88,7 +89,7 @@ isinteger(char *buff)
return 1;
}
inline void
static inline void
strtoupper(char *string)
{
while (*string != '\0')
@ -98,7 +99,7 @@ strtoupper(char *string)
}
}
inline void
static inline void
strtolower(char *string)
{
while (*string != '\0')