On 4/14/17 4:47 AM, Dominique Devienne wrote:
On Fri, Apr 14, 2017 at 4:54 AM, Guy Harris <g...@alum.mit.edu> wrote:

On Apr 13, 2017, at 2:36 AM, Dominique Devienne <ddevie...@gmail.com>
wrote:


-PRIVATE struct config *newconfig(){
+PRIVATE struct config *newconfig(void){

Personally I've never been a fan of explicitly "void'ing" arg-less
functions. FWIW.
But I do see others (in the patch's unchanged text), so why not.
Let's now see if DRH applies your patch or not. --DD

In C (as opposed to C++), it is the only way to provide a real prototype for such a function. The empty parameter list means with an unspecified parameter list in C.

--
Richard Damon

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to