mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 04:19:20 +02:00
Make sure that function declarations use names that exactly match the corresponding names from function definitions in contrib code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
25 lines
486 B
C
25 lines
486 B
C
/*
|
|
* contrib/seg/segdata.h
|
|
*/
|
|
typedef struct SEG
|
|
{
|
|
float4 lower;
|
|
float4 upper;
|
|
char l_sigd;
|
|
char u_sigd;
|
|
char l_ext;
|
|
char u_ext;
|
|
} SEG;
|
|
|
|
/* in seg.c */
|
|
extern int significant_digits(const char *s);
|
|
|
|
/* in segscan.l */
|
|
extern int seg_yylex(void);
|
|
extern void seg_yyerror(SEG *result, const char *message) pg_attribute_noreturn();
|
|
extern void seg_scanner_init(const char *str);
|
|
extern void seg_scanner_finish(void);
|
|
|
|
/* in segparse.y */
|
|
extern int seg_yyparse(SEG *result);
|