Skip to content

Commit

Permalink
packages: tweak header order to fix compile failures
Browse files Browse the repository at this point in the history
Change-Id: Ie1a977905b7c650abd790abe57f1bf6affd9b0e2
  • Loading branch information
rokidbot committed Aug 23, 2018
1 parent e2c3acf commit b86cb47
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Expand Up @@ -81,7 +81,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
Expand Down
2 changes: 1 addition & 1 deletion packages/@yoda/system/src/SystemNative.h
Expand Up @@ -8,8 +8,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion packages/audio/src/AudioNative.h
Expand Up @@ -8,8 +8,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion packages/bluetooth/src/BluetoothNative.h
Expand Up @@ -9,8 +9,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>
#include <iotjs_objectwrap.h>
#include <uv.h>
#include <librokid-bt/librokid-bt.h>
Expand Down
2 changes: 1 addition & 1 deletion packages/input/src/InputNative.h
Expand Up @@ -8,8 +8,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>
#include <iotjs_objectwrap.h>
#include <uv.h>
#include <input-event/input-event.h>
Expand Down
2 changes: 1 addition & 1 deletion packages/light/src/LightNative.h
Expand Up @@ -8,8 +8,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>
#include <iotjs_objectwrap.h>

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion packages/multimedia/src/MultimediaNative.h
Expand Up @@ -9,8 +9,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>
#include <iotjs_objectwrap.h>
#include <uv.h>
#include <mediaplayer.h>
Expand Down
2 changes: 1 addition & 1 deletion packages/property/src/PropertyNative.h
Expand Up @@ -8,8 +8,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tts/src/TtsNative.h
Expand Up @@ -10,8 +10,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>
#include <iotjs_objectwrap.h>

class TtsNative;
Expand Down
2 changes: 1 addition & 1 deletion packages/wifi/src/WifiNative.h
Expand Up @@ -8,8 +8,8 @@ extern "C" {
#endif /* __cplusplus */

#include <iotjs.h>
#include <iotjs_binding.h>
#include <iotjs_def.h>
#include <iotjs_binding.h>

#ifdef __cplusplus
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/clang-format
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

find packages -iname *.h -o -iname *.cc | xargs clang-format -style=file -i
find packages -iname *.h -o -iname *.cc | xargs clang-format -style=file

0 comments on commit b86cb47

Please sign in to comment.