X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=globals.h;h=ef9b7b9aab8ca7cc1531cdeb7c0af9677947cc6d;hp=3e4e9f87ffd511e000d29f58bcce6e19e630a59f;hb=b6980caf7b13994c57957872876cdecc21e54a82;hpb=688ac22f746f785c27ac99ac86aa85a3035a3638 diff --git a/globals.h b/globals.h index 3e4e9f8..ef9b7b9 100644 --- a/globals.h +++ b/globals.h @@ -11,8 +11,8 @@ #include -WHERE void (*mutt_error) (const char *, ...); -WHERE void (*mutt_message) (const char *, ...); +WHERE void (*mutt_error) (const char *, ...) __attribute__((format(printf, 1, 2))) ; +WHERE void (*mutt_message) (const char *, ...) __attribute__((format(printf, 1, 2))) ; WHERE CONTEXT *Context; @@ -21,12 +21,8 @@ WHERE char AttachmentMarker[STRING]; WHERE char Quotebuf[STRING]; -WHERE char *MuttDotlock; - -WHERE address_t *EnvFrom; WHERE address_t *From; -WHERE char *AssumedCharset; WHERE char *AttachSep; WHERE char *Attribution; WHERE char *AttachFormat; @@ -36,17 +32,12 @@ WHERE char *ContentType; WHERE char *DefaultHook; WHERE char *DateFmt; WHERE char *DisplayFilter; -WHERE char *DsnNotify; -WHERE char *DsnReturn; -WHERE char *Editor; WHERE char *EditorHeaders; WHERE char *FileCharset; WHERE char *FolderFormat; WHERE char *ForwFmt; WHERE char *Fqdn; WHERE char *HdrFmt; -WHERE char *Homedir; -WHERE char *Hostname; WHERE char *ImapAuthenticators INITVAL (NULL); WHERE char *ImapDelimChars INITVAL (NULL); @@ -117,9 +108,6 @@ WHERE char *Prefix; WHERE char *PrintCmd; WHERE char *QueryCmd; WHERE char *Realname; -WHERE char *SendCharset; -WHERE char *Sendmail; -WHERE char *Shell; WHERE char *SidebarDelim; WHERE char *SidebarNumberFormat; WHERE char *SidebarBoundary; @@ -153,10 +141,8 @@ WHERE char *SslCACertFile INITVAL (NULL); #endif WHERE char *StChars; WHERE char *Status; -WHERE char *Tempdir; WHERE char *Tochars; WHERE char *TrashPath; -WHERE char *Username; WHERE char *XtermTitle; WHERE char *XtermLeave; WHERE char *XtermIcon; @@ -209,7 +195,6 @@ WHERE short MenuContext; WHERE short PagerContext; WHERE short PagerIndexLines; WHERE short ReadInc; -WHERE short SendmailWait; WHERE short SleepTime INITVAL (1); WHERE short Timeout; WHERE short Umask INITVAL (0077);