[Python-Dev] ANSIfication again ;)

Skip Montanaro skip@mojam.com (Skip Montanaro)
Thu, 20 Jul 2000 17:05:04 -0500 (CDT)


    [ () 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