summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/src/alpined.d/alpined.c14
-rw-r--r--web/src/alpined.d/alpineldap.c11
-rw-r--r--web/src/alpined.d/signal.c2
-rw-r--r--web/src/alpined.d/stubs.c26
4 files changed, 17 insertions, 36 deletions
diff --git a/web/src/alpined.d/alpined.c b/web/src/alpined.d/alpined.c
index 4c6f1e56..c02a8e0e 100644
--- a/web/src/alpined.d/alpined.c
+++ b/web/src/alpined.d/alpined.c
@@ -3865,8 +3865,7 @@ peWriteSig(Tcl_Interp *interp, char *file, Tcl_Obj **objv)
-NAMEVAL_S *sort_key_rules(index)
- int index;
+NAMEVAL_S *sort_key_rules(int index)
{
static NAMEVAL_S is_rules[] = {
{"Arrival", 0},
@@ -3893,8 +3892,7 @@ NAMEVAL_S *sort_key_rules(index)
? &is_rules[index] : NULL);
}
-NAMEVAL_S *wp_indexheight_rules(index)
- int index;
+NAMEVAL_S *wp_indexheight_rules(int index)
{
static NAMEVAL_S is_rules[] = {
{"normal font", "24", 0},
@@ -11017,7 +11015,7 @@ pePrepareForAuthException(void)
* pePrepareForAuthException - check globals getting feedback from bowels of c-client
*/
char *
-peAuthException()
+peAuthException(void)
{
static char buf[CRED_REQ_SIZE];
@@ -11138,11 +11136,7 @@ peMessageBounce(Tcl_Interp *interp, imapuid_t uid, int objc, Tcl_Obj **objv)
int
-peMessageSpamNotice(interp, uid, objc, objv)
- Tcl_Interp *interp;
- imapuid_t uid;
- int objc;
- Tcl_Obj **objv;
+peMessageSpamNotice(Tcl_Interp *interp, imapuid_t uid, int objc, Tcl_Obj **objv)
{
char *to, *subj = NULL, errbuf[WP_MAX_POST_ERROR + 1], *rs = NULL;
long rawno;
diff --git a/web/src/alpined.d/alpineldap.c b/web/src/alpined.d/alpineldap.c
index 23d4f12f..31655729 100644
--- a/web/src/alpined.d/alpineldap.c
+++ b/web/src/alpined.d/alpineldap.c
@@ -76,22 +76,17 @@ char peCredentialRequestor[CRED_REQ_SIZE];
STRLIST_S *peCertHosts;
void
-sml_addmsg(priority, text)
- int priority;
- char *text;
+sml_addmsg(int priority, char *text)
{
}
void
-peDestroyUserContext(pps)
- struct pine **pps;
+peDestroyUserContext(struct pine **pps)
{
}
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
#ifdef ENABLE_LDAP
struct pine *pine_state;
diff --git a/web/src/alpined.d/signal.c b/web/src/alpined.d/signal.c
index d36a6ec1..a630785b 100644
--- a/web/src/alpined.d/signal.c
+++ b/web/src/alpined.d/signal.c
@@ -32,7 +32,7 @@ static int cleanup_called_from_sig_handler;
static RETSIGTYPE hup_signal(int);
static RETSIGTYPE term_signal(int);
static RETSIGTYPE auger_in_signal(int);
-int fast_clean_up();
+int fast_clean_up(void);
void end_signals(int);
#if defined(DEBUG) && defined(SIGUSR1) && defined(SIGUSR2)
static RETSIGTYPE usr1_signal(int);
diff --git a/web/src/alpined.d/stubs.c b/web/src/alpined.d/stubs.c
index 55436216..126e536c 100644
--- a/web/src/alpined.d/stubs.c
+++ b/web/src/alpined.d/stubs.c
@@ -42,7 +42,7 @@ peMarkInputTime(void)
/********* ../../../pith/newmail.c stub **********/
time_t
-time_of_last_input()
+time_of_last_input(void)
{
return(time_of_input);
}
@@ -50,8 +50,7 @@ time_of_last_input()
/********* ../../../pith/conf.c stub **********/
int
-set_input_timeout(t)
- int t;
+set_input_timeout(int t)
{
int old_t = input_timeout;
@@ -61,14 +60,14 @@ set_input_timeout(t)
int
-get_input_timeout()
+get_input_timeout(void)
{
return(input_timeout);
}
int
-unexpected_pinerc_change()
+unexpected_pinerc_change(void)
{
dprint((1, "Unexpected pinerc change"));
return(0); /* always overwrite */
@@ -76,8 +75,7 @@ unexpected_pinerc_change()
/********* ../../../pith/mailcap.c stub **********/
int
-exec_mailcap_test_cmd(cmd)
- char *cmd;
+exec_mailcap_test_cmd(char *cmd)
{
return(-1); /* never succeeds on web server */
}
@@ -96,8 +94,7 @@ exec_mailcap_test_cmd(cmd)
This is also called from imap routines and fs_get and fs_resize.
----*/
void
-alpine_panic(message)
- char *message;
+alpine_panic(char *message)
{
in_panic = 1;
@@ -125,7 +122,7 @@ alpine_panic(message)
----*/
int
-panicking()
+panicking(void)
{
return(in_panic);
}
@@ -139,9 +136,7 @@ panicking()
----*/
void
-exceptional_exit(message, ev)
- char *message;
- int ev;
+exceptional_exit(char *message, int ev)
{
syslog(LOG_ALERT, "%s", message);
exit(ev);
@@ -156,10 +151,7 @@ exceptional_exit(message, ev)
Result: prints help messages
----------------------------------------------------------------------*/
void
-display_args_err(s, a, err)
- char *s;
- char **a;
- int err;
+display_args_err(char *s, char **a, int err)
{
syslog(LOG_INFO, "Arg Error: %s", s);
}