aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkos Kiss <akiss@inf.u-szeged.hu>2018-09-12 15:00:05 +0200
committerRobert Sipka <rsipka.uszeged@partner.samsung.com>2018-09-12 15:00:05 +0200
commit4ec607a58b93bc63cc77599404a88ad0d9fdd8bc (patch)
treee54207763e503f0e33f4e19820b99503f797a66a
parent5472aff0dc478a1a54275cd75dbcd68058cae7fc (diff)
Remove leading space from before `#if`s (#2523)
It both is against coding style and confuses the `gen-magic-strings.py` build tool. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
-rw-r--r--jerry-core/jcontext/jcontext.h2
-rw-r--r--jerry-port/default/default-debugger.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/jerry-core/jcontext/jcontext.h b/jerry-core/jcontext/jcontext.h
index 1ab72c1e..c1d01354 100644
--- a/jerry-core/jcontext/jcontext.h
+++ b/jerry-core/jcontext/jcontext.h
@@ -33,7 +33,7 @@
* @{
*/
- #ifndef JERRY_SYSTEM_ALLOCATOR
+#ifndef JERRY_SYSTEM_ALLOCATOR
/**
* Heap structure
*
diff --git a/jerry-port/default/default-debugger.c b/jerry-port/default/default-debugger.c
index 14c1789f..e32d6611 100644
--- a/jerry-port/default/default-debugger.c
+++ b/jerry-port/default/default-debugger.c
@@ -13,11 +13,11 @@
* limitations under the License.
*/
- #if !defined (_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
- #undef _XOPEN_SOURCE
- /* Required macro for sleep functions (nanosleep or usleep) */
- #define _XOPEN_SOURCE 500
- #endif
+#if !defined (_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
+#undef _XOPEN_SOURCE
+/* Required macro for sleep functions (nanosleep or usleep) */
+#define _XOPEN_SOURCE 500
+#endif
#ifdef HAVE_TIME_H
#include <time.h>