I downloaded some library and declares functions as follows:
#if !defined(__ANSI_PROTO)
#if defined(_WIN32) || defined(__STDC__) || defined(__cplusplus)
# define __ANSI_PROTO(x) x
#else
# define __ANSI_PROTO(x) ()
#endif
#endif
int httpdAddVariable __ANSI_PROTO((httpd*,char*, char*));
What is the role __ANSI_PROTOhere? Why is it easy to declare just like
int httpdAddVariable (httpd*,char*, char*);
source
share