* Get the current character set
*/
char *
-get_charset ()
+get_charset(void)
{
return norm_charmap(nl_langinfo (CODESET));
}
/* Need to put a symbol in the .c file with NDEBUG so the compilation
* unit isn't empty. */
-void ctype_checked();
+void ctype_checked(void);
#endif
#include "sbr/icalparse.h"
static char *unfold (char *, size_t *);
-static void destroy_icallex ();
+static void destroy_icallex(void);
%}
/*
* with something other than flex.
*/
static void
-destroy_icallex () {
+destroy_icallex(void) {
#if defined FLEX_SCANNER && defined YY_FLEX_SUBMINOR_VERSION
/* Hack: rely on fact that the the YY_FLEX_SUBMINOR_VERSION
#define was added to flex (flex.skl v. 2.163) after
* Remove all registered temporary files.
*/
void
-remove_registered_files_atexit() {
+remove_registered_files_atexit(void) {
unregister_for_removal(1);
}
}
static char *
-make_user_agent()
+make_user_agent(void)
{
const char *curl = curl_version_info(CURLVERSION_NOW)->version;
return concat(user_agent, " libcurl/", curl, NULL);
* For use by nmh_init().
*/
int
-setup_signal_handlers() {
+setup_signal_handlers(void) {
/*
* Catch HUP, INT, QUIT, and TERM so that we can clean up tmp
* files when the user terminates the process early. And also a
#include <fcntl.h>
/* sbr/signals.c */
-extern int setup_signal_handlers();
+extern int setup_signal_handlers(void);
/* sbr/m_mktemp.c */
-extern void remove_registered_files_atexit();
+extern void remove_registered_files_atexit(void);
extern char *mhdocdir;
"\n----------------------------------------------------------------------\n\n";
static char delim4[] = "\n------------------------------\n\n";
-static FILE *(*mhl_action) () = (FILE *(*) ()) 0;
+static FILE *(*mhl_action)(char *);
/*
* prototypes