Changeset 3873:ac2a2dcad1ec

Show
Ignore:
Timestamp:
2005-02-03 09:01:42 (4 years ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Add config.h to the top of every C file that could possibly want it.
Remove it from mutt.h

Files:
111 modified

Legend:

Unmodified
Added
Removed
  • account.c

    r3437 r3873  
    1818 
    1919/* remote host account manipulation (POP/IMAP) */ 
     20 
     21#if HAVE_CONFIG_H 
     22# include "config.h" 
     23#endif 
    2024 
    2125#include "mutt.h" 
  • addrbook.c

    r3808 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • alias.c

    r3589 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • ascii.c

    r2797 r3873  
    2626 * locale-insensitive. 
    2727 */ 
     28 
     29#if HAVE_CONFIG_H 
     30# include "config.h" 
     31#endif 
    2832 
    2933#include <stdio.h> 
  • attach.c

    r3654 r3873  
    1717 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1818 */  
     19 
     20#if HAVE_CONFIG_H 
     21# include "config.h" 
     22#endif 
    1923 
    2024#include "mutt.h" 
  • base64.c

    r2766 r3873  
    3939 *  
    4040 */ 
     41 
     42#if HAVE_CONFIG_H 
     43# include "config.h" 
     44#endif 
    4145 
    4246#include "mutt.h" 
  • browser.c

    r3808 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • buffy.c

    r3773 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */ 
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • charset.c

    r3621 r3873  
    2020 */ 
    2121 
     22#if HAVE_CONFIG_H 
     23# include "config.h" 
     24#endif 
    2225 
    2326#include <string.h> 
  • color.c

    r3830 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • commands.c

    r3850 r3873  
    1717 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1818 */  
     19 
     20#if HAVE_CONFIG_H 
     21# include "config.h" 
     22#endif 
    1923 
    2024#include "mutt.h" 
  • complete.c

    r3181 r3873  
    1717 */  
    1818 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
     22 
    1923#include "mutt.h" 
    2024#ifdef USE_IMAP 
  • compose.c

    r3808 r3873  
    1717 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1818 */  
     19 
     20#if HAVE_CONFIG_H 
     21# include "config.h" 
     22#endif 
    1923 
    2024#include "mutt.h" 
  • copy.c

    r3681 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • crypt-gpgme.c

    r3858 r3873  
    2121 */ 
    2222 
    23 #include <config.h> 
     23#if HAVE_CONFIG_H 
     24# include "config.h" 
     25#endif 
    2426 
    2527#ifdef CRYPT_BACKEND_GPGME 
  • crypt-mod-pgp-classic.c

    r3663 r3873  
    2020    This is a crytpo module wrapping the classic pgp code. 
    2121 */ 
     22 
     23#if HAVE_CONFIG_H 
     24# include "config.h" 
     25#endif 
    2226 
    2327#include "crypt-mod.h" 
  • crypt-mod-pgp-gpgme.c

    r3858 r3873  
    2121 */ 
    2222 
    23 #include <config.h> 
     23#if HAVE_CONFIG_H 
     24# include "config.h" 
     25#endif 
    2426 
    2527#ifdef CRYPT_BACKEND_GPGME 
  • crypt-mod-smime-classic.c

    r3663 r3873  
    2020    This is a crytpo module wrapping the classic smime code. 
    2121 */ 
     22 
     23#if HAVE_CONFIG_H 
     24# include "config.h" 
     25#endif 
    2226 
    2327#include "crypt-mod.h" 
  • crypt-mod-smime-gpgme.c

    r3858 r3873  
    2121 */ 
    2222 
    23 #include <config.h> 
     23#if HAVE_CONFIG_H 
     24# include "config.h" 
     25#endif 
    2426 
    2527#ifdef CRYPT_BACKEND_GPGME 
  • crypt-mod.c

    r3663 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */ 
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "crypt-mod.h" 
  • crypt.c

    r3663 r3873  
    2222 */ 
    2323 
     24#if HAVE_CONFIG_H 
     25# include "config.h" 
     26#endif 
    2427 
    2528#include "mutt.h" 
  • cryptglue.c

    r3858 r3873  
    2929   modules.  */ 
    3030 
     31#if HAVE_CONFIG_H 
     32# include "config.h" 
     33#endif 
     34 
    3135#include "mutt.h" 
    3236#include "mutt_crypt.h" 
  • curs_lib.c

    r3840 r3873  
    1717 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1818 */  
     19 
     20#if HAVE_CONFIG_H 
     21# include "config.h" 
     22#endif 
    1923 
    2024#include "mutt.h" 
  • curs_main.c

    r3846 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • date.c

    r3179 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • dotlock.c

    r3179 r3873  
    2424 * macro. 
    2525 */ 
     26 
     27#if HAVE_CONFIG_H 
     28# include "config.h" 
     29#endif 
    2630 
    2731#include <stdio.h> 
  • edit.c

    r3773 r3873  
    1818 
    1919/* Close approximation of the mailx(1) builtin editor for sending mail. */ 
     20 
     21#if HAVE_CONFIG_H 
     22# include "config.h" 
     23#endif 
    2024 
    2125#include "mutt.h" 
  • editmsg.c

    r3447 r3873  
    2121 
    2222/* simple, editor-based message editing */ 
     23 
     24#if HAVE_CONFIG_H 
     25# include "config.h" 
     26#endif 
    2327 
    2428#include "mutt.h" 
  • enter.c

    r3480 r3873  
    1717 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1818 */  
     19 
     20#if HAVE_CONFIG_H 
     21# include "config.h" 
     22#endif 
    1923 
    2024#include "mutt.h" 
  • extlib.c

    r3179 r3873  
    2828#define _EXTLIB_C 
    2929 
     30#if HAVE_CONFIG_H 
     31# include "config.h" 
     32#endif 
     33 
    3034#include <stdlib.h> 
    3135#include "lib.h" 
  • filter.c

    r2766 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • flags.c

    r3279 r3873  
    1717 */  
    1818 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
     22 
    1923#include "mutt.h" 
    2024#include "mutt_curses.h" 
  • from.c

    r3179 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • getdomain.c

    r2766 r3873  
     1#if HAVE_CONFIG_H 
     2# include "config.h" 
     3#endif 
     4 
    15#include <stdio.h> 
    26#include <ctype.h> 
  • gnupgparse.c

    r3439 r3873  
    3131 */ 
    3232 
     33#if HAVE_CONFIG_H 
     34# include "config.h" 
     35#endif 
     36 
    3337#include <stdio.h> 
    3438#include <stdlib.h> 
  • handler.c

    r3681 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include <stdlib.h> 
  • hash.c

    r3179 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include <stdlib.h> 
  • hdrline.c

    r3677 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA. 
    1717 */  
     18 
     19#if HAVE_CONFIG_H 
     20# include "config.h" 
     21#endif 
    1822 
    1923#include "mutt.h" 
  • headers.c

    r3735 r3873  
    1616 *     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  0211