Unify the naming scheme of all header defines
There have been several renamings of header files but the ifndef/define/endif preprocessor directives did not always follow the file name changes (or perhaps never followed a unified naming scheme). This patch gets all headers aligned with the style of the majority. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef JERRY_BIT_FIELDS_H
|
||||
#define JERRY_BIT_FIELDS_H
|
||||
#ifndef JRT_BIT_FIELDS_H
|
||||
#define JRT_BIT_FIELDS_H
|
||||
|
||||
/**
|
||||
* Extract a bit-field.
|
||||
@@ -42,4 +42,4 @@
|
||||
#define JRT_SET_BIT_FIELD_VALUE(type, container, new_bit_field_value, lsb, width) \
|
||||
(((container) & ~(((((type) 1) << (width)) - 1) << (lsb))) | (((type) new_bit_field_value) << (lsb)))
|
||||
|
||||
#endif /* !JERRY_BIT_FIELDS_H */
|
||||
#endif /* !JRT_BIT_FIELDS_H */
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef JERRY_GLOBALS_H
|
||||
#define JERRY_GLOBALS_H
|
||||
#ifndef JRT_H
|
||||
#define JRT_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -217,4 +217,4 @@ extern bool jrt_read_from_buffer_by_offset (const uint8_t *, size_t, size_t *, v
|
||||
|
||||
extern bool jrt_write_to_buffer_by_offset (uint8_t *, size_t, size_t *, const void *, size_t);
|
||||
|
||||
#endif /* !JERRY_GLOBALS_H */
|
||||
#endif /* !JRT_H */
|
||||
|
||||
Reference in New Issue
Block a user