Re: [HACKERS] Intentional usage of old style function declarations?

2015-08-11 Thread Tom Lane
Andres Freund writes: > We have a bunch of callbacks that use old-style C function > declarations. I.e. functions with empty parens allowing all types of > data being passed: > E.g. > extern bool expression_tree_walker(Node *node, bool (*walker) (), >void *cont

[HACKERS] Intentional usage of old style function declarations?

2015-08-11 Thread Andres Freund
Hi, We have a bunch of callbacks that use old-style C function declarations. I.e. functions with empty parens allowing all types of data being passed: E.g. extern bool expression_tree_walker(Node *node, bool (*walker) (), void *context); extern Node *expression_