diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-31 19:11:48 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-10-31 19:11:48 +0000 |
| commit | 5936055d46c29aecb8a74db316a9421c1c62cf8b (patch) | |
| tree | 725817616b4db0eec52e3a1983e706489334a454 /contrib | |
| parent | 2982b97f7198987f0f7f0da5c62136d3572c81d9 (diff) | |
| download | postgresql-5936055d46c29aecb8a74db316a9421c1c62cf8b.tar.gz | |
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.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/dbase/dbf2pg.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/dbase/dbf2pg.c b/contrib/dbase/dbf2pg.c index f8e6bafcd1..abf04dfa28 100644 --- a/contrib/dbase/dbf2pg.c +++ b/contrib/dbase/dbf2pg.c @@ -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') |
