mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Add some const decorations to prototypes
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
#define YYMALLOC palloc
|
||||
#define YYFREE pfree
|
||||
|
||||
static float seg_atof(char *value);
|
||||
static float seg_atof(const char *value);
|
||||
|
||||
static char strbuf[25] = {
|
||||
'0', '0', '0', '0', '0',
|
||||
@ -151,7 +151,7 @@ deviation: SEGFLOAT
|
||||
|
||||
|
||||
static float
|
||||
seg_atof(char *value)
|
||||
seg_atof(const char *value)
|
||||
{
|
||||
Datum datum;
|
||||
|
||||
|
Reference in New Issue
Block a user