summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkProgress.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/ttk/ttkProgress.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/ttk/ttkProgress.c')
-rw-r--r--generic/ttk/ttkProgress.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/ttk/ttkProgress.c b/generic/ttk/ttkProgress.c
index cfd8e57..b805357 100644
--- a/generic/ttk/ttkProgress.c
+++ b/generic/ttk/ttkProgress.c
@@ -4,9 +4,7 @@
* ttk::progressbar widget.
*/
-#include <math.h>
-#include <tk.h>
-
+#include "tkInt.h"
#include "ttkTheme.h"
#include "ttkWidget.h"