[ () vs. (void) in ANSI C ]
Peter> But then even "gcc -pedantic -ansi" doesn't care about this.
I doubt it should. "()" is perfectly valid ANSI C isn't it? As I recall it
means "I know nothing about this function's input parameters, so I won't
check it." On the other hand, "(void)" means "This function takes precisely
zero input args".
Skip