Skip to content

Commit 4cfbb30

Browse files
committed
clean up header includes a bit
more grouping.
1 parent 497e0a2 commit 4cfbb30

21 files changed

+34
-56
lines changed

src/bmpimage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "bmpimage.hpp"
99
#include "basicio.hpp"
10+
#include "config.h"
1011
#include "error.hpp"
1112
#include "futils.hpp"
1213
#include "image.hpp"

src/convert.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
20-May-08, vn: added actual conversion logic
88
*/
99
// *****************************************************************************
10-
#include "config.h"
11-
1210
// included header files
1311
#include "convert.hpp"
12+
#include "config.h"
1413
#include "error.hpp"
1514
#include "exif.hpp"
1615
#include "futils.hpp"

src/crwimage.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
History: 28-Aug-05, ahu: created
66
*/
77
// included header files
8-
#include "config.h"
9-
108
#include "crwimage.hpp"
9+
#include "config.h"
1110
#include "crwimage_int.hpp"
1211
#include "error.hpp"
1312
#include "futils.hpp"

src/crwimage_int.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
2-
3-
#include "config.h"
4-
5-
#include "canonmn_int.hpp"
62
#include "crwimage_int.hpp"
3+
#include "canonmn_int.hpp"
4+
#include "config.h"
75
#include "enforce.hpp"
86
#include "error.hpp"
97
#include "i18n.h" // NLS support.

src/datasets.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
#include "datasets.hpp"
1010
#include "error.hpp"
1111
#include "i18n.h" // NLS support.
12-
#include "types.hpp"
13-
1412
#include "image_int.hpp"
13+
#include "types.hpp"
1514

1615
#include <iomanip>
1716

src/easyaccess.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
// included header files
33
#include "easyaccess.hpp"
4+
45
#include "utils.hpp"
56

67
#include <sstream>

src/epsimage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
*/
99
// *****************************************************************************
1010
// included header files
11-
#include "config.h"
11+
#include "epsimage.hpp"
1212

1313
#include "basicio.hpp"
14+
#include "config.h"
1415
#include "enforce.hpp"
15-
#include "epsimage.hpp"
1616
#include "error.hpp"
1717
#include "futils.hpp"
1818
#include "image.hpp"

src/http.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22

3+
#include "http.hpp"
34
#include "config.h"
4-
55
#include "futils.hpp"
6-
#include "http.hpp"
76

87
#include <array>
98
#include <cerrno>

src/iptc.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22

3-
#include "config.h"
4-
53
// included header files
64
#include "iptc.hpp"
7-
5+
#include "config.h"
86
#include "datasets.hpp"
97
#include "enforce.hpp"
108
#include "error.hpp"

src/jpgimage.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22

33
// included header files
4+
#include "jpgimage.hpp"
45
#include "config.h"
5-
66
#include "enforce.hpp"
77
#include "error.hpp"
88
#include "futils.hpp"
99
#include "helper_functions.hpp"
1010
#include "i18n.h" // NLS support.
1111
#include "image_int.hpp"
12-
#include "jpgimage.hpp"
1312
#include "photoshop.hpp"
1413
#include "tags_int.hpp"
1514

0 commit comments

Comments
 (0)