From: Chris Allegretta Date: Sat, 28 Apr 2001 18:03:52 +0000 (+0000) Subject: Move config.h up in include lists and remove actual_x inline tag X-Git-Tag: v1.0.2~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1bb85d50473c43482e02341d2bbdf5384817b206;p=nano.git Move config.h up in include lists and remove actual_x inline tag git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@616 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 1286f296..fb84f8c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ Cvs code - +- General: + - Moved config.h up in all .c files #include list (Albert Chin). - nano.c: ABCD(), main() - Add Alt-whatever-[a-d] support as well as Alt-whatever-[A-D]. @@ -6,6 +8,9 @@ Cvs code - do_replace() - If we manage to make it in somehow with VIEW_MODE on, abort nicely (fixes BUG #59). +- winio.c: + actual_x() + - Remove inline from function decl (Albert Chin). nano 1.0.1 - 04/06/2001 - General: diff --git a/cut.c b/cut.c index 5e8cba75..eff32e39 100644 --- a/cut.c +++ b/cut.c @@ -19,10 +19,11 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include -#include "config.h" #include "proto.h" #include "nano.h" diff --git a/files.c b/files.c index 1d749f96..1cd7b20f 100644 --- a/files.c +++ b/files.c @@ -19,6 +19,8 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include @@ -31,7 +33,6 @@ #include #include -#include "config.h" #include "proto.h" #include "nano.h" diff --git a/global.c b/global.c index 77af9281..4bab460b 100644 --- a/global.c +++ b/global.c @@ -19,8 +19,9 @@ * * **************************************************************************/ -#include #include "config.h" + +#include #include "nano.h" #include "proto.h" diff --git a/move.c b/move.c index bda2c3c8..f7a9efa8 100644 --- a/move.c +++ b/move.c @@ -19,10 +19,11 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include -#include "config.h" #include "proto.h" #include "nano.h" diff --git a/nano.c b/nano.c index 731674ea..7125df7b 100644 --- a/nano.c +++ b/nano.c @@ -19,6 +19,8 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include @@ -38,7 +40,6 @@ #include #include -#include "config.h" #include "proto.h" #include "nano.h" diff --git a/search.c b/search.c index 34004a77..cd46ab97 100644 --- a/search.c +++ b/search.c @@ -19,12 +19,13 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include #include #include -#include "config.h" #include "proto.h" #include "nano.h" diff --git a/utils.c b/utils.c index a1396419..db8fc228 100644 --- a/utils.c +++ b/utils.c @@ -19,12 +19,13 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include #include -#include "config.h" #include "nano.h" #include "proto.h" diff --git a/winio.c b/winio.c index ab232bef..cea024b1 100644 --- a/winio.c +++ b/winio.c @@ -19,11 +19,12 @@ * * **************************************************************************/ +#include "config.h" + #include #include #include #include -#include "config.h" #include "proto.h" #include "nano.h" @@ -127,7 +128,7 @@ int actual_x_from_start(filestruct * fileptr, int xplus, int start) } /* Opposite of xplustabs */ -inline int actual_x(filestruct * fileptr, int xplus) +int actual_x(filestruct * fileptr, int xplus) { return actual_x_from_start(fileptr, xplus, 0); }