summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-06 08:02:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-09-06 08:02:09 (GMT)
commit00693b0bd778d46d986a05e630c0d0c0fbb63992 (patch)
treea0692fe268ba2cb2b9f981ccf581102c4e716a8b /generic/tkTextIndex.c
parent5d2ce7fc6a86dd052459261a1c49569e578f7797 (diff)
downloadtk-00693b0bd778d46d986a05e630c0d0c0fbb63992.zip
tk-00693b0bd778d46d986a05e630c0d0c0fbb63992.tar.gz
tk-00693b0bd778d46d986a05e630c0d0c0fbb63992.tar.bz2
Header include reform: Since "tkInt.h" already contains header files like <stdlib.h>, <string.h> and <ctype.h>, we don't have to include those in every separate C-file. Just depend on tkInt.h to provide it.
This mainly affects ttk, since most other files already adhered to this.
Diffstat (limited to 'generic/tkTextIndex.c')
-rw-r--r--generic/tkTextIndex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c
index 7430197..0ee7347 100644
--- a/generic/tkTextIndex.c
+++ b/generic/tkTextIndex.c
@@ -11,9 +11,9 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-#include "default.h"
#include "tkInt.h"
#include "tkText.h"
+#include "default.h"
/*
* Index to use to select last character in line (very large integer):