since proto.h includes nano.h, and nano.h includes config.h first,

include proto.h first and remove redundant includes of config.h in all
non-header source files


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3236 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2005-12-08 02:47:10 +00:00
parent 8befda6490
commit 034b994eb5
16 changed files with 21 additions and 64 deletions

View File

@@ -21,9 +21,7 @@
* *
**************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "proto.h"
#include <stdio.h>
#include <string.h>
@@ -33,7 +31,6 @@
#include <errno.h>
#include <ctype.h>
#include <pwd.h>
#include "proto.h"
/* Add an entry to the openfile openfilestruct. This should only be
* called from open_buffer(). */