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 akiss@inf.u-szeged.hu
This commit is contained in:
@@ -13,6 +13,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "ecma-alloc.h"
|
#include "ecma-alloc.h"
|
||||||
#include "ecma-builtin-helpers.h"
|
#include "ecma-builtin-helpers.h"
|
||||||
#include "ecma-conversion.h"
|
#include "ecma-conversion.h"
|
||||||
@@ -22,7 +24,6 @@
|
|||||||
#include "ecma-helpers.h"
|
#include "ecma-helpers.h"
|
||||||
#include "ecma-try-catch-macro.h"
|
#include "ecma-try-catch-macro.h"
|
||||||
#include "lit-char-helpers.h"
|
#include "lit-char-helpers.h"
|
||||||
#include "math.h"
|
|
||||||
|
|
||||||
#ifndef CONFIG_DISABLE_DATE_BUILTIN
|
#ifndef CONFIG_DISABLE_DATE_BUILTIN
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#ifndef JERRYSCRIPT_DEBUGGER_TRANSPORT_H
|
#ifndef JERRYSCRIPT_DEBUGGER_TRANSPORT_H
|
||||||
#define JERRYSCRIPT_DEBUGGER_TRANSPORT_H
|
#define JERRYSCRIPT_DEBUGGER_TRANSPORT_H
|
||||||
|
|
||||||
#include <jerryscript-core.h>
|
#include "jerryscript-core.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
#ifndef JERRYSCRIPT_DEBUGGER_H
|
#ifndef JERRYSCRIPT_DEBUGGER_H
|
||||||
#define JERRYSCRIPT_DEBUGGER_H
|
#define JERRYSCRIPT_DEBUGGER_H
|
||||||
|
|
||||||
#include <jerryscript-core.h>
|
#include "jerryscript-core.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|||||||
Reference in New Issue
Block a user