diff options
| author | Tom Lane | 2004-10-25 02:15:02 +0000 |
|---|---|---|
| committer | Tom Lane | 2004-10-25 02:15:02 +0000 |
| commit | f1283ed6cc4db5df781452b5f048dc930cc6a172 (patch) | |
| tree | 368520795e0ae52c167be253ab0e74fb0fc2d6ab /contrib/pgcrypto | |
| parent | 8ec05b28b712fa4b2de5cc088ee978e05cd7e69a (diff) | |
Fix a bunch of 'old-style parameter declaration' warnings induced by
writing 'foo()' rather than 'foo(void)'.
Diffstat (limited to 'contrib/pgcrypto')
| -rw-r--r-- | contrib/pgcrypto/crypt-des.c | 2 | ||||
| -rw-r--r-- | contrib/pgcrypto/internal.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/pgcrypto/crypt-des.c b/contrib/pgcrypto/crypt-des.c index 8be5640b473..0edff299a05 100644 --- a/contrib/pgcrypto/crypt-des.c +++ b/contrib/pgcrypto/crypt-des.c @@ -216,7 +216,7 @@ ascii_to_bin(char ch) } static void -des_init() +des_init(void) { int i, j, diff --git a/contrib/pgcrypto/internal.c b/contrib/pgcrypto/internal.c index db7b46da067..c95a4e957a6 100644 --- a/contrib/pgcrypto/internal.c +++ b/contrib/pgcrypto/internal.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $PostgreSQL: pgsql/contrib/pgcrypto/internal.c,v 1.13 2004/05/07 00:24:57 tgl Exp $ + * $PostgreSQL: pgsql/contrib/pgcrypto/internal.c,v 1.14 2004/10/25 02:15:02 tgl Exp $ */ @@ -493,25 +493,25 @@ bf_load(int mode) /* ciphers */ static PX_Cipher * -rj_128_ecb() +rj_128_ecb(void) { return rj_load(MODE_ECB); } static PX_Cipher * -rj_128_cbc() +rj_128_cbc(void) { return rj_load(MODE_CBC); } static PX_Cipher * -bf_ecb_load() +bf_ecb_load(void) { return bf_load(MODE_ECB); } static PX_Cipher * -bf_cbc_load() +bf_cbc_load(void) { return bf_load(MODE_CBC); } |
