1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fixed very stupid but important bug: mixing calls of some founctions from

contrib/tsearch and contrib/ltree :)

Teodor Sigaev
This commit is contained in:
Bruce Momjian
2002-08-10 20:46:24 +00:00
parent be2de3b9c8
commit 87cfb8eb29
9 changed files with 21 additions and 19 deletions

View File

@ -2,9 +2,9 @@
#define _CRC32_H
/* Returns crc32 of data block */
extern unsigned int crc32_sz(char *buf, int size);
extern unsigned int ltree_crc32_sz(char *buf, int size);
/* Returns crc32 of null-terminated string */
#define crc32(buf) crc32_sz((buf),strlen(buf))
#define crc32(buf) ltree_crc32_sz((buf),strlen(buf))
#endif