Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 7b4c771

Browse files
author
Gustavo Sverzut Barbieri
committed
sol-missing: automatically included.
sol-missing.h provides functions that do not exist on some embedded or non-standard systems, those that the developer does't often check, so it's easy to forget to include the sol-missing.h file, as was happening. This patch changes that to an automatic include, removing explicit includes. Signed-off-by: Gustavo Sverzut Barbieri <[email protected]>
1 parent 42d3210 commit 7b4c771

File tree

14 files changed

+2
-14
lines changed

14 files changed

+2
-14
lines changed

src/bin/sol-fbp-generator/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#include "sol-mainloop.h"
5151
#include "sol-util.h"
5252
#include "sol-conffile.h"
53-
#include "sol-missing.h"
5453
#include "sol-str-slice.h"
5554

5655
#include "type-store.h"

src/bin/sol-fbp-generator/type-store.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include "sol-str-slice.h"
3939
#include "sol-util.h"
4040
#include "sol-vector.h"
41-
#include "sol-missing.h"
4241

4342
#include "type-store.h"
4443

src/lib/common/sol-platform-impl-linux-micro.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
#include "sol-platform.h"
5252
#include "sol-util.h"
5353
#include "sol-vector.h"
54-
#include "sol-missing.h"
5554

5655
#include "sol-platform-linux-micro-builtins-gen.h"
5756

src/lib/comms/sol-network-linux.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
#define SOL_LOG_DOMAIN &_log_domain
5050
#include "sol-log-internal.h"
5151
#include "sol-mainloop.h"
52-
#include "sol-missing.h"
5352
#include "sol-network.h"
5453
#include "sol-util.h"
5554
#include "sol-util-file.h"

src/lib/comms/sol-oic-client.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#include "sol-json.h"
4646
#include "sol-log-internal.h"
4747
#include "sol-mainloop.h"
48-
#include "sol-missing.h"
4948
#include "sol-util.h"
5049

5150
#include "sol-oic-client.h"

src/lib/datatypes/sol-str-slice.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <errno.h>
3636

3737
#include "sol-str-slice.h"
38-
#include "sol-missing.h"
3938

4039
SOL_API int
4140
sol_str_slice_to_int(const struct sol_str_slice s, int *value)

src/modules/flow/converter/string-format.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
#include <math.h>
4747
#include <stdio.h>
4848

49-
#include "sol-missing.h"
50-
5149
#include "string-format.h"
5250

5351
#define SF_MIN(x, y) (((x) > (y)) ? (y) : (x))

src/modules/flow/string/string-replace-ascii.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#include <string.h>
4747
#include <sys/types.h>
4848

49-
#include "sol-missing.h"
5049
#include "sol-util.h"
5150

5251
#include "string-ascii.h"

src/modules/flow/unix-socket/unix-socket-impl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ SOL_LOG_INTERNAL_DECLARE_STATIC(_log_domain, "flow-unix-socket-impl");
4646

4747
#include "unix-socket.h"
4848
#include "sol-mainloop.h"
49-
#include "sol-missing.h"
5049
#include "sol-util.h"
5150
#include "sol-vector.h"
5251

src/modules/linux-micro/locale/locale.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ SOL_LOG_INTERNAL_DECLARE_STATIC(_log_domain, "linux-micro-locale");
4343
#include "sol-platform-linux-micro.h"
4444
#include "sol-str-slice.h"
4545
#include "sol-util.h"
46-
#include "sol-missing.h"
4746

4847
static const struct sol_str_slice locale_vars[] = {
4948
SOL_STR_SLICE_LITERAL("LANG"),

0 commit comments

Comments
 (0)