diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
commit | 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch) | |
tree | 8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/backend/utils/cache/lsyscache.c | |
parent | b992e200b8872ecb6652ec85111995f8d4c5aee0 (diff) |
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/backend/utils/cache/lsyscache.c')
-rw-r--r-- | src/backend/utils/cache/lsyscache.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/utils/cache/lsyscache.c b/src/backend/utils/cache/lsyscache.c index d9228fe72b3..9de0c3fb89b 100644 --- a/src/backend/utils/cache/lsyscache.c +++ b/src/backend/utils/cache/lsyscache.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.2 1996/10/31 05:55:32 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/lsyscache.c,v 1.3 1997/08/19 21:35:11 momjian Exp $ * * NOTES * Eventually, the index information should go through here, too. @@ -434,6 +434,7 @@ get_typbyval(Oid typid) * not. Returns 1 if by value, 0 if by reference. * */ +#ifdef NOT_USED char get_typalign(Oid typid) { @@ -446,6 +447,7 @@ get_typalign(Oid typid) else return ('i'); } +#endif /* * get_typdefault - @@ -469,6 +471,7 @@ get_typdefault(Oid typid) * It returns the null char if the cache lookup fails... * */ +#ifdef NOT_USED char get_typtype(Oid typid) { @@ -482,4 +485,4 @@ get_typtype(Oid typid) return('\0'); } } - +#endif |