Re:Declaring C String Constants
by Koshkin on Wednesday May 17, 2017 @02:33PM
(#14361403)
Yes, in C you must use 'void' to indicate that the function takes no arguments. (This is deprecated in C++ in favor to an empty argument list - which breaks backward compatibility with C).
[ Parent
| on HN ]
What happens if I extern a C function with no "void" then? Do I get a variadic in C++?