mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Squelch some VC++ compiler warnings. Mark float literals with the "f"
suffix, to distinguish them from doubles. Make some function declarations and definitions use the "const" qualifier for arguments consistently. Ignore warning 4102 ("unreferenced label"), because such warnings are always emitted by bison-generated code. Patch from Magnus Hagander.
This commit is contained in:
@ -108,7 +108,7 @@ typedef void (*formfloat) (ArrayType *, float *);
|
||||
/*
|
||||
** useful function
|
||||
*/
|
||||
bool isort(int4 *a, const int len);
|
||||
bool isort(int4 *a, int len);
|
||||
ArrayType *new_intArrayType(int num);
|
||||
ArrayType *copy_intArrayType(ArrayType *a);
|
||||
ArrayType *resize_intArrayType(ArrayType *a, int num);
|
||||
|
Reference in New Issue
Block a user