midst of a code block.
int debug, int onex, int queued,
int sasl, int saslssf, char *saslmech, char *user, int tls)
{
+ int result, sd1, sd2;
#ifdef CYRUS_SASL
char *server_mechs;
#else /* CYRUS_SASL */
NMH_UNUSED (saslmech);
NMH_UNUSED (user);
#endif /* CYRUS_SASL */
- int result, sd1, sd2;
if (watch)
verbose = TRUE;
int debug, int onex, int queued,
int sasl, int saslssf, char *saslmech, char *user)
{
+ unsigned int i, result, vecp;
+ int pdi[2], pdo[2];
+ char *vec[15];
#ifdef CYRUS_SASL
char *server_mechs;
#else /* CYRUS_SASL */
NMH_UNUSED (saslmech);
NMH_UNUSED (user);
#endif /* CYRUS_SASL */
- unsigned int i, result, vecp;
- int pdi[2], pdo[2];
- char *vec[15];
if (watch)
verbose = TRUE;
if (iswcntrl(wide_char) || iswspace(wide_char)) {
sp += char_len;
#else
+ int c;
end--;
/* isnctrl(), etc., take an int argument. Cygwin's ctype.h
intentionally warns if they are passed a char. */
- int c = *sp;
+ c = *sp;
if (iscntrl(c) || isspace(c)) {
sp++;
#endif
static void
alrmser (int sig)
{
- NMH_UNUSED (sig);
-
char *lockfile;
struct lock *lp;
+ NMH_UNUSED (sig);
/* update the ctime of all the lock files */
for (lp = l_top; lp; lp = lp->l_next) {
void
mts_init (char *name)
{
- NMH_UNUSED (name);
-
const char *cp;
FILE *fp;
static int inited = 0;
+ NMH_UNUSED (name);
if (inited++ || (fp = fopen (get_mtsconf_pathname(), "r")) == NULL)
return;
static boolean
get_folder_info_callback (char *fold, void *baton)
{
+ boolean crawl_children;
NMH_UNUSED (baton);
- boolean crawl_children;
get_folder_info_body (fold, NULL, &crawl_children);
fflush (stdout);
return crawl_children;
mhl (int argc, char **argv)
{
int length = 0, nomore = 0;
- unsigned int i, vecp = 0;;
+ unsigned int i, vecp = 0;
int width = 0;
char *cp, *folder = NULL, *form = NULL;
char buf[BUFSIZ], *files[MAXARGS];
if (xpause && isatty (fileno (stdout))) {
int intr;
+ SIGNAL_HANDLER istat;
if (SOprintf ("Press <return> to show content..."))
printf ("Press <return> to show content...");
- SIGNAL_HANDLER istat;
istat = SIGNAL (SIGINT, intrser);
if ((intr = sigsetjmp (intrenv, 1)) == OK) {
FILE *
msh_ready (int msgnum, int full)
{
- NMH_UNUSED (full);
register int msgp;
int fd;
char *cp;
+ NMH_UNUSED (full);
if (yp) {
fclose (yp);
void
helpcmd (char **args)
{
- NMH_UNUSED (args);
-
int i;
+ NMH_UNUSED (args);
for (i = 0; hlpmsg[i]; i++) {
printf (hlpmsg[i], invo_name);
GREPaction (params)
plist
{
- NMH_UNUSED (msgnum);
-
int c, body, lf;
long pos = start;
register char *p1, *p2, *ebp, *cbp;
char ibuf[BUFSIZ];
+ NMH_UNUSED (msgnum);
fseek (fp, start, SEEK_SET);
body = 0;
TWSaction (params)
plist
{
- NMH_UNUSED (stop);
-
int state;
register char *bp;
char buf[BUFSIZ], name[NAMESZ];
register struct tws *tw;
+ NMH_UNUSED (stop);
fseek (fp, start, SEEK_SET);
for (state = FLD, bp = NULL;;) {
pop_init (char *host, char *port, char *user, char *pass, char *proxy,
int snoop, int sasl, char *mech)
{
+ int fd1, fd2;
+ char buffer[BUFSIZ];
#ifndef CYRUS_SASL
NMH_UNUSED (sasl);
NMH_UNUSED (mech);
#endif /* ! CYRUS_SASL */
- int fd1, fd2;
- char buffer[BUFSIZ];
-
if (proxy && *proxy) {
int pid;
int inpipe[2]; /* for reading from the server */
replout (FILE *inb, char *msg, char *drft, struct msgs *mp, int outputlinelen,
int mime, char *form, char *filter, char *fcc, int fmtproc)
{
- NMH_UNUSED (msg);
-
register int state, i;
register struct comp *cptr;
register char *tmpbuf;
char name[NAMESZ], *scanl;
unsigned char *cp;
FILE *out;
+ NMH_UNUSED (msg);
mask = umask(~m_gmprot());
if ((out = fopen (drft, "w")) == NULL)