Skip to content

Commit 2534d32

Browse files
akosthekissLaszloLango
authored andcommitted
Use #include<> for system headers and #include"" for own headers (#2445)
They are no big differences between the two forms as "" falls back to <>. There are some inconsistencies in the code, though, which are fixed by this patch. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent c93bea3 commit 2534d32

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

jerry-core/ecma/builtin-objects/ecma-builtin-date.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include <math.h>
17+
1618
#include "ecma-alloc.h"
1719
#include "ecma-builtin-helpers.h"
1820
#include "ecma-conversion.h"
@@ -22,7 +24,6 @@
2224
#include "ecma-helpers.h"
2325
#include "ecma-try-catch-macro.h"
2426
#include "lit-char-helpers.h"
25-
#include "math.h"
2627

2728
#ifndef CONFIG_DISABLE_DATE_BUILTIN
2829

jerry-core/include/jerryscript-debugger-transport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef JERRYSCRIPT_DEBUGGER_TRANSPORT_H
1717
#define JERRYSCRIPT_DEBUGGER_TRANSPORT_H
1818

19-
#include <jerryscript-core.h>
19+
#include "jerryscript-core.h"
2020

2121
#ifdef __cplusplus
2222
extern "C"

jerry-core/include/jerryscript-debugger.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#ifndef JERRYSCRIPT_DEBUGGER_H
1717
#define JERRYSCRIPT_DEBUGGER_H
1818

19-
#include <jerryscript-core.h>
19+
#include "jerryscript-core.h"
2020

2121
#ifdef __cplusplus
2222
extern "C"

0 commit comments

Comments
 (0)