Tom Lane
f1283ed6cc
Fix a bunch of 'old-style parameter declaration' warnings induced by
...
writing 'foo()' rather than 'foo(void)'.
2004-10-25 02:15:02 +00:00
Tom Lane
78b08584b4
Fix various recent build and regression-test problems in contrib/.
...
Includes fixes from Joe Conway.
2003-05-14 03:27:22 +00:00
Bruce Momjian
8f73bb4da9
* include <endian.h> is not enough, include sys/types.h too
...
everywhere.
At least it was now detected correctly.
marko
2001-11-30 17:39:20 +00:00
Bruce Momjian
8aa538cfd5
* When postgres.h does not define BYTE_ENDIAN pgcrypto
...
produces garbage.
I learned the hard way that
#if UNDEFINED_1 == UNDEFINED_2
#error "gcc is idiot"
#endif
prints "gcc is idiot" ...
Affected are MD5/SHA1 in internal library, and also HMAC-MD5/HMAC-SHA1/
crypt-md5 which use them. Blowfish is ok, also Rijndael on at
least x86.
Big thanks to Daniel Holtzman who send me a build log which
contained warning:
md5.c:246: warning: `X' defined but not used
Yes, gcc is that helpful...
Please apply this.
--
marko
2001-11-29 19:40:37 +00:00
Bruce Momjian
c78975f845
Include sys/types.h in crypt-des.c. FreeBSD netinet/in.h
...
needs it.
Seems it is getting compileable...
Marko Kreen
2001-11-20 21:10:38 +00:00
Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Bruce Momjian
c41b6b1b9c
Fix small problem Tom Lane found with pgindent run.
2001-10-30 05:38:56 +00:00
Bruce Momjian
6783b2372e
Another pgindent run. Fixes enum indenting, and improves #endif
...
spacing. Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Tom Lane
77f27d5ec3
Fix some portability problems (get it to compile, at least, on HP's cc)
2001-10-15 19:15:18 +00:00
Bruce Momjian
df24cb73f6
Add missing pgcrypto file.
2001-08-21 01:32:01 +00:00