mutt stable branch with some hacks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove NULL and 0 INITVAL declarataions.

The C standard says static storage duration variables will be
initialized to NULL/0.

+54 -54
+1 -1
buffy.h
··· 45 45 } 46 46 BUFFY; 47 47 48 - WHERE BUFFY *Incoming INITVAL (0); 48 + WHERE BUFFY *Incoming; 49 49 WHERE short BuffyTimeout INITVAL (3); 50 50 WHERE short BuffyCheckStatsInterval INITVAL (60); 51 51
+49 -49
globals.h
··· 61 61 WHERE char *Homedir; 62 62 WHERE char *Hostname; 63 63 #ifdef USE_IMAP 64 - WHERE char *ImapAuthenticators INITVAL (NULL); 65 - WHERE char *ImapDelimChars INITVAL (NULL); 64 + WHERE char *ImapAuthenticators; 65 + WHERE char *ImapDelimChars; 66 66 WHERE char *ImapHeaders; 67 - WHERE char *ImapLogin INITVAL (NULL); 68 - WHERE char *ImapOauthRefreshCmd INITVAL (NULL); 69 - WHERE char *ImapPass INITVAL (NULL); 70 - WHERE char *ImapUser INITVAL (NULL); 67 + WHERE char *ImapLogin; 68 + WHERE char *ImapOauthRefreshCmd; 69 + WHERE char *ImapPass; 70 + WHERE char *ImapUser; 71 71 #endif 72 72 WHERE char *Inbox; 73 73 WHERE char *Ispell; ··· 90 90 WHERE char *MsgFmt; 91 91 92 92 #ifdef USE_SOCKET 93 - WHERE char *Preconnect INITVAL (NULL); 94 - WHERE char *Tunnel INITVAL (NULL); 93 + WHERE char *Preconnect; 94 + WHERE char *Tunnel; 95 95 WHERE short NetInc; 96 96 #endif /* USE_SOCKET */ 97 97 ··· 100 100 WHERE char *MixEntryFormat; 101 101 #endif 102 102 103 - WHERE char *Muttrc INITVAL (NULL); 103 + WHERE char *Muttrc; 104 104 WHERE char *Outbox; 105 105 WHERE char *Pager; 106 106 WHERE char *PagerFmt; 107 107 WHERE char *PipeSep; 108 108 #ifdef USE_POP 109 - WHERE char *PopAuthenticators INITVAL (NULL); 109 + WHERE char *PopAuthenticators; 110 110 WHERE short PopCheckTimeout; 111 111 WHERE char *PopHost; 112 - WHERE char *PopOauthRefreshCmd INITVAL (NULL); 113 - WHERE char *PopPass INITVAL (NULL); 114 - WHERE char *PopUser INITVAL (NULL); 112 + WHERE char *PopOauthRefreshCmd; 113 + WHERE char *PopPass; 114 + WHERE char *PopUser; 115 115 #endif 116 116 WHERE char *PostIndentString; 117 117 WHERE char *Postponed; ··· 136 136 WHERE char *Signature; 137 137 WHERE char *SimpleSearch; 138 138 #if USE_SMTP 139 - WHERE char *SmtpAuthenticators INITVAL (NULL); 140 - WHERE char *SmtpPass INITVAL (NULL); 141 - WHERE char *SmtpOauthRefreshCmd INITVAL (NULL); 142 - WHERE char *SmtpUrl INITVAL (NULL); 139 + WHERE char *SmtpAuthenticators; 140 + WHERE char *SmtpPass; 141 + WHERE char *SmtpOauthRefreshCmd; 142 + WHERE char *SmtpUrl; 143 143 #endif /* USE_SMTP */ 144 144 WHERE char *Spoolfile; 145 145 WHERE char *SpamSep; 146 146 #if defined(USE_SSL) 147 - WHERE char *SslCertFile INITVAL (NULL); 148 - WHERE char *SslClientCert INITVAL (NULL); 149 - WHERE char *SslEntropyFile INITVAL (NULL); 150 - WHERE char *SslCiphers INITVAL (NULL); 147 + WHERE char *SslCertFile; 148 + WHERE char *SslClientCert; 149 + WHERE char *SslEntropyFile; 150 + WHERE char *SslCiphers; 151 151 #ifdef USE_SSL_GNUTLS 152 152 WHERE short SslDHPrimeBits; 153 - WHERE char *SslCACertFile INITVAL (NULL); 153 + WHERE char *SslCACertFile; 154 154 #endif 155 155 #endif 156 156 WHERE mbchar_table *StChars; ··· 174 174 WHERE HASH *ReverseAlias; 175 175 WHERE HASH *AutoSubscribeCache; 176 176 177 - WHERE LIST *AutoViewList INITVAL(0); 178 - WHERE LIST *AlternativeOrderList INITVAL(0); 179 - WHERE LIST *AttachAllow INITVAL(0); 180 - WHERE LIST *AttachExclude INITVAL(0); 181 - WHERE LIST *InlineAllow INITVAL(0); 182 - WHERE LIST *InlineExclude INITVAL(0); 183 - WHERE LIST *HeaderOrderList INITVAL(0); 184 - WHERE LIST *Ignore INITVAL(0); 185 - WHERE LIST *MailtoAllow INITVAL(0); 186 - WHERE LIST *MimeLookupList INITVAL(0); 187 - WHERE LIST *UnIgnore INITVAL(0); 177 + WHERE LIST *AutoViewList; 178 + WHERE LIST *AlternativeOrderList; 179 + WHERE LIST *AttachAllow; 180 + WHERE LIST *AttachExclude; 181 + WHERE LIST *InlineAllow; 182 + WHERE LIST *InlineExclude; 183 + WHERE LIST *HeaderOrderList; 184 + WHERE LIST *Ignore; 185 + WHERE LIST *MailtoAllow; 186 + WHERE LIST *MimeLookupList; 187 + WHERE LIST *UnIgnore; 188 188 189 - WHERE RX_LIST *Alternates INITVAL(0); 190 - WHERE RX_LIST *UnAlternates INITVAL(0); 191 - WHERE RX_LIST *MailLists INITVAL(0); 192 - WHERE RX_LIST *UnMailLists INITVAL(0); 193 - WHERE RX_LIST *SubscribedLists INITVAL(0); 194 - WHERE RX_LIST *UnSubscribedLists INITVAL(0); 195 - WHERE REPLACE_LIST *SpamList INITVAL(0); 196 - WHERE RX_LIST *NoSpamList INITVAL(0); 197 - WHERE REPLACE_LIST *SubjectRxList INITVAL(0); 189 + WHERE RX_LIST *Alternates; 190 + WHERE RX_LIST *UnAlternates; 191 + WHERE RX_LIST *MailLists; 192 + WHERE RX_LIST *UnMailLists; 193 + WHERE RX_LIST *SubscribedLists; 194 + WHERE RX_LIST *UnSubscribedLists; 195 + WHERE REPLACE_LIST *SpamList; 196 + WHERE RX_LIST *NoSpamList; 197 + WHERE REPLACE_LIST *SubjectRxList; 198 198 199 199 200 200 /* bit vector for boolean variables */ ··· 211 211 extern unsigned char QuadOptions[]; 212 212 #endif 213 213 214 - WHERE unsigned short Counter INITVAL (0); 214 + WHERE unsigned short Counter; 215 215 216 216 WHERE short ConnectTimeout; 217 217 WHERE short ErrorHistSize; ··· 236 236 237 237 #ifdef USE_SIDEBAR 238 238 WHERE short SidebarWidth; 239 - WHERE LIST *SidebarWhitelist INITVAL(0); 239 + WHERE LIST *SidebarWhitelist; 240 240 #endif 241 241 242 242 #ifdef USE_IMAP ··· 247 247 #endif 248 248 249 249 /* flags for received signals */ 250 - WHERE SIG_ATOMIC_VOLATILE_T SigAlrm INITVAL (0); 251 - WHERE SIG_ATOMIC_VOLATILE_T SigInt INITVAL (0); 252 - WHERE SIG_ATOMIC_VOLATILE_T SigWinch INITVAL (0); 250 + WHERE SIG_ATOMIC_VOLATILE_T SigAlrm; 251 + WHERE SIG_ATOMIC_VOLATILE_T SigInt; 252 + WHERE SIG_ATOMIC_VOLATILE_T SigWinch; 253 253 254 254 WHERE int CurrentMenu; 255 255 256 - WHERE ALIAS *Aliases INITVAL (0); 257 - WHERE LIST *UserHeader INITVAL (0); 256 + WHERE ALIAS *Aliases; 257 + WHERE LIST *UserHeader; 258 258 259 259 /*-- formerly in pgp.h --*/ 260 260 WHERE REGEXP PgpGoodSign;
+2 -2
lib.h
··· 145 145 146 146 # ifdef DEBUG 147 147 148 - MUTT_LIB_WHERE FILE *debugfile MUTT_LIB_INITVAL(0); 149 - MUTT_LIB_WHERE int debuglevel MUTT_LIB_INITVAL(0); 148 + MUTT_LIB_WHERE FILE *debugfile; 149 + MUTT_LIB_WHERE int debuglevel; 150 150 151 151 void mutt_debug (FILE *, const char *, ...); 152 152
+2 -2
monitor.h
··· 19 19 #ifndef MONITOR_H 20 20 #define MONITOR_H 21 21 22 - WHERE int MonitorFilesChanged INITVAL (0); 23 - WHERE int MonitorContextChanged INITVAL (0); 22 + WHERE int MonitorFilesChanged; 23 + WHERE int MonitorContextChanged; 24 24 25 25 #ifdef _BUFFY_H 26 26 int mutt_monitor_add (BUFFY *b);