mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Correct declaration of array_map() so that it doesn't make
gcc quite so unhappy.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: array.h,v 1.16 1999/05/03 19:10:25 momjian Exp $
|
||||
* $Id: array.h,v 1.17 1999/05/03 23:48:25 tgl Exp $
|
||||
*
|
||||
* NOTES
|
||||
* XXX the data array should be LONGALIGN'd -- notice that the array
|
||||
@ -126,7 +126,8 @@ extern char *array_set(ArrayType *array, int n, int *indx, char *dataPtr,
|
||||
extern char *array_assgn(ArrayType *array, int n, int *upperIndx,
|
||||
int *lowerIndx, ArrayType *newArr, int reftype,
|
||||
int len, bool *isNull);
|
||||
extern ArrayType *array_map(ArrayType *v, Oid type, char *(fn)(char *p, ...),
|
||||
extern ArrayType *array_map(ArrayType *v, Oid type,
|
||||
char * (*fn)(),
|
||||
Oid retType, int nargs, ...);
|
||||
extern int array_eq(ArrayType *array1, ArrayType *array2);
|
||||
extern int _LOtransfer(char **destfd, int size, int nitems, char **srcfd,
|
||||
|
Reference in New Issue
Block a user