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:
@ -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')
|
||||
|
Reference in New Issue
Block a user