*/
#if __GNUC__ > 2
#define NORETURN __attribute__((__noreturn__))
+#define NMH_UNUSED(i) (void) i
#else
#define NORETURN
+#define NMH_UNUSED(i) i
#endif
/*
return RP_RPLY;
}
}
+#else /* TLS_SUPPORT */
+ NMH_UNUSED (tls);
#endif /* TLS_SUPPORT */
#ifdef CYRUS_SASL
sm_get_pass(sasl_conn_t *conn, void *context, int id,
sasl_secret_t **psecret)
{
+ NMH_UNUSED (conn);
+
char **pw_context = (char **) context;
char *pass = NULL;
int len;
static void
alrmser (int i)
{
+ NMH_UNUSED (i);
+
#ifndef RELIABLE_SIGNALS
SIGNAL (SIGALRM, alrmser);
#endif
static void
intrser (int i)
{
+ NMH_UNUSED (i);
+
/*
* should this be siglongjmp?
*/
lockfile_remove(lkinfo.curlock);
#endif /* HAVE_LIBLOCKFILE */
timerOFF (fd); /* turn off lock timer */
+#else /* DOT_LOCKING */
+ NMH_UNUSED (file);
#endif /* DOT_LOCKING */
return (close (fd));
lockfile_remove(lkinfo.curlock);
#endif /* HAVE_LIBLOCKFILE */
timerOFF (fileno(fp)); /* turn off lock timer */
+#else /* DOT_LOCKING */
+ NMH_UNUSED (file);
#endif /* DOT_LOCKING */
return (fclose (fp));
void
mts_init (char *name)
{
+ NMH_UNUSED (name);
+
const char *cp;
FILE *fp;
static int inited = 0;
static boolean
get_folder_info_callback (char *fold, void *baton)
{
+ NMH_UNUSED (baton);
+
boolean crawl_children;
get_folder_info_body (fold, NULL, &crawl_children);
fflush (stdout);
static void
intrser (int i)
{
+ NMH_UNUSED (i);
+
discard (stdout);
putchar ('\n');
longjmp (env, DONE);
static void
pipeser (int i)
{
+ NMH_UNUSED (i);
+
done (NOTOK);
}
static void
quitser (int i)
{
+ NMH_UNUSED (i);
+
putchar ('\n');
fflush (stdout);
done (NOTOK);
static int
InitGeneric (CT ct)
{
+ NMH_UNUSED (ct);
+
return OK; /* not much to do here */
}
static int
show_partial (CT ct, int serial, int alternate)
{
+ NMH_UNUSED (serial);
+ NMH_UNUSED (alternate);
+
content_error (NULL, ct,
"in order to display this message, you must reassemble it");
return NOTOK;
static void
intrser (int i)
{
+ NMH_UNUSED (i);
+
putchar ('\n');
siglongjmp (intrenv, DONE);
}
FILE *
msh_ready (int msgnum, int full)
{
+ NMH_UNUSED (full);
register int msgp;
int fd;
char *cp;
static void
intrser (int i)
{
+ NMH_UNUSED (i);
discard (stdout);
interrupted++;
}
static void
pipeser (int i)
{
+ NMH_UNUSED (i);
if (broken_pipe++ == 0)
fprintf (stderr, "broken pipe\n");
told_to_quit++;
static void
quitser (int i)
{
+ NMH_UNUSED (i);
told_to_quit++;
interrupted++;
}
static void
alrmser (int i)
{
+ NMH_UNUSED (i);
longjmp (peerenv, DONE);
}
static int
pQRY (char *str, int scansw)
{
+ NMH_UNUSED (str);
if (pQRY1 (scansw) == NOTOK || pQRY2 () == NOTOK)
return NOTOK;
void
helpcmd (char **args)
{
+ NMH_UNUSED (args);
+
int i;
for (i = 0; hlpmsg[i]; i++) {
static int
eom_action (int c)
{
+ NMH_UNUSED (c);
+
return (ftell (mhlfp) >= Msgs[mhlnum].m_stop);
}
GREPaction (params)
plist
{
+ NMH_UNUSED (msgnum);
+
int c, body, lf;
long pos = start;
register char *p1, *p2, *ebp, *cbp;
TWSaction (params)
plist
{
+ NMH_UNUSED (stop);
+
int state;
register char *bp;
char buf[BUFSIZ], name[NAMESZ];
static void
sigser (int i)
{
+ NMH_UNUSED (i);
+
unlink (tmpfil);
if (msgflags & MINV)
unlink (bccfil);
static void
intrser (int i)
{
+ NMH_UNUSED (i);
+
if (wtuser)
longjmp (sigenv, NOTOK);
sigint++;
static void
alrmser (int i)
{
+ NMH_UNUSED (i);
+
longjmp (myctx, 1);
}
replout (FILE *inb, char *msg, char *drft, struct msgs *mp, int outputlinelen,
int mime, char *form, char *filter, char *fcc)
{
+ NMH_UNUSED (msg);
+
register int state, i;
register struct comp *cptr;
register char *tmpbuf;
static void
alrmser (int i)
{
+ NMH_UNUSED (i);
+
longjmp (myctx, DONE);
}