Unifiy the comments of preprocessor conditionals
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define assert(x) \
|
||||
@@ -35,11 +35,11 @@ extern "C"
|
||||
abort (); \
|
||||
} \
|
||||
} while (0)
|
||||
#else
|
||||
#else /* NDEBUG */
|
||||
#define assert(x) ((void) 0)
|
||||
#endif /* !NDEBUG */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
#endif /* !JERRY_LIBC_ASSERT_H */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/**
|
||||
* Storage for context, used for nonlocal goto
|
||||
@@ -61,5 +61,5 @@ void longjmp (jmp_buf env, int val);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
#endif /* !JERRY_LIBC_SETJMP_H */
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/**
|
||||
* File descriptor type
|
||||
@@ -62,5 +62,5 @@ int putchar (int c);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
#endif /* !JERRY_LIBC_STDIO_H */
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/**
|
||||
* Maximum integer that could be returned by random number generator
|
||||
@@ -37,5 +37,5 @@ void srand (unsigned int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
#endif /* !JERRY_LIBC_STDLIB_H */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
void *memcpy (void *dest, const void *src, size_t n);
|
||||
void *memset (void *s, int c, size_t n);
|
||||
@@ -35,5 +35,5 @@ size_t strlen (const char *s);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
#endif /* !JERRY_LIBC_STRING_H */
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
|
||||
/**
|
||||
* Time value structure
|
||||
@@ -44,5 +44,5 @@ int gettimeofday (void *tp, void *tzp);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* __cplusplus */
|
||||
#endif /* !JERRY_LIBC_TIME_H */
|
||||
|
||||
Reference in New Issue
Block a user