Commit 6efda54a authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Move config.h up in include lists and remove actual_x inline tag

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@616 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 316e4d9a
No related merge requests found
Showing with 22 additions and 10 deletions
+22 -10
...@@ -15,7 +15,8 @@ Cvs code - ...@@ -15,7 +15,8 @@ Cvs code -
and change the aproproate calls which used nmalloc for lack of and change the aproproate calls which used nmalloc for lack of
an apropriate calloc function *** FIXME *** an apropriate calloc function *** FIXME ***
- After "Alternate" spell checker is called, cursor is repositioned on - After "Alternate" spell checker is called, cursor is repositioned on
the same line as before ^T was called. the same line as before ^T was called.
- Moved config.h up in all .c files #include list (Albert Chin).
- configure.in: - configure.in:
- New option, --enable-nanorc which allows people to have a .nanorc - New option, --enable-nanorc which allows people to have a .nanorc
initialization file and set options normally used on the command initialization file and set options normally used on the command
...@@ -45,6 +46,9 @@ Cvs code - ...@@ -45,6 +46,9 @@ Cvs code -
do_replace() do_replace()
- If we manage to make it in somehow with VIEW_MODE on, abort - If we manage to make it in somehow with VIEW_MODE on, abort
nicely (fixes BUG #59). nicely (fixes BUG #59).
- winio.c:
actual_x()
- Remove inline from function decl (Albert Chin).
nano 1.1 tree forked here 04/07/2001 nano 1.1 tree forked here 04/07/2001
......
...@@ -19,10 +19,11 @@ ...@@ -19,10 +19,11 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "config.h"
#include "proto.h" #include "proto.h"
#include "nano.h" #include "nano.h"
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
...@@ -31,7 +33,6 @@ ...@@ -31,7 +33,6 @@
#include <dirent.h> #include <dirent.h>
#include <pwd.h> #include <pwd.h>
#include "config.h"
#include "proto.h" #include "proto.h"
#include "nano.h" #include "nano.h"
......
...@@ -19,8 +19,9 @@ ...@@ -19,8 +19,9 @@
* * * *
**************************************************************************/ **************************************************************************/
#include <sys/stat.h>
#include "config.h" #include "config.h"
#include <sys/stat.h>
#include "nano.h" #include "nano.h"
#include "proto.h" #include "proto.h"
......
...@@ -19,10 +19,11 @@ ...@@ -19,10 +19,11 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "config.h"
#include "proto.h" #include "proto.h"
#include "nano.h" #include "nano.h"
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -38,7 +40,6 @@ ...@@ -38,7 +40,6 @@
#include <limits.h> #include <limits.h>
#include <assert.h> #include <assert.h>
#include "config.h"
#include "proto.h" #include "proto.h"
#include "nano.h" #include "nano.h"
......
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include "config.h"
#include "proto.h" #include "proto.h"
#include "nano.h" #include "nano.h"
......
...@@ -19,12 +19,13 @@ ...@@ -19,12 +19,13 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include "config.h"
#include "nano.h" #include "nano.h"
#include "proto.h" #include "proto.h"
......
...@@ -19,11 +19,12 @@ ...@@ -19,11 +19,12 @@
* * * *
**************************************************************************/ **************************************************************************/
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "config.h"
#include "proto.h" #include "proto.h"
#include "nano.h" #include "nano.h"
...@@ -127,7 +128,7 @@ int actual_x_from_start(filestruct * fileptr, int xplus, int start) ...@@ -127,7 +128,7 @@ int actual_x_from_start(filestruct * fileptr, int xplus, int start)
} }
/* Opposite of xplustabs */ /* 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); return actual_x_from_start(fileptr, xplus, 0);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment