X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=globals.h;h=81e2952cf7c10980947acac720235f2d7374f144;hp=d2292e3984882e6975d15a13c5ecb7356bd6db65;hb=68d6b380767702ba11529357f36d178d0dc4cb1e;hpb=1d0ce70b85c36973b50e5783fe7b72941c81c0a9 diff --git a/globals.h b/globals.h index d2292e3..81e2952 100644 --- a/globals.h +++ b/globals.h @@ -11,19 +11,16 @@ #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; WHERE char Errorbuf[STRING]; WHERE char AttachmentMarker[STRING]; -WHERE char Quotebuf[SHORT_STRING]; +WHERE char Quotebuf[STRING]; -WHERE char *MuttDotlock; - -WHERE address_t *EnvFrom; WHERE address_t *From; WHERE char *AssumedCharset; @@ -36,16 +33,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); @@ -118,8 +111,6 @@ 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 +144,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 +198,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);