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:
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -30,4 +30,4 @@ extern void mem_run_try_to_give_memory_back_callbacks (mem_try_give_memory_back_
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* MEM_ALLOCATOR_INTERNAL_H */
|
||||
#endif /* !MEM_ALLOCATOR_INTERNAL_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,8 +20,8 @@
|
||||
/**
|
||||
* Allocator interface
|
||||
*/
|
||||
#ifndef JERRY_MEM_ALLOCATOR_H
|
||||
#define JERRY_MEM_ALLOCATOR_H
|
||||
#ifndef MEM_ALLOCATOR_H
|
||||
#define MEM_ALLOCATOR_H
|
||||
|
||||
#include "jrt.h"
|
||||
#include "mem-config.h"
|
||||
@@ -125,7 +125,7 @@ extern void mem_stats_reset_peak (void);
|
||||
extern void mem_stats_print (void);
|
||||
#endif /* MEM_STATS */
|
||||
|
||||
#endif /* !JERRY_MEM_ALLOCATOR_H */
|
||||
#endif /* !MEM_ALLOCATOR_H */
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -38,4 +38,4 @@
|
||||
*/
|
||||
#define MEM_ALIGNMENT_LOG 3
|
||||
|
||||
#endif /* MEM_CONFIG_H */
|
||||
#endif /* !MEM_CONFIG_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
|
||||
* Copyright 2016 University of Szeged.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -24,8 +24,8 @@
|
||||
/**
|
||||
* Heap allocator interface
|
||||
*/
|
||||
#ifndef JERRY_MEM_HEAP_H
|
||||
#define JERRY_MEM_HEAP_H
|
||||
#ifndef MEM_HEAP_H
|
||||
#define MEM_HEAP_H
|
||||
|
||||
#include "jrt.h"
|
||||
|
||||
@@ -124,4 +124,4 @@ extern void mem_heap_valgrind_freya_mempool_request (void);
|
||||
* @}
|
||||
*/
|
||||
|
||||
#endif /* !JERRY_MEM_HEAP_H */
|
||||
#endif /* !MEM_HEAP_H */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Copyright 2014-2015 Samsung Electronics Co., Ltd.
|
||||
/* Copyright 2014-2016 Samsung Electronics Co., Ltd.
|
||||
* Copyright 2016 University of Szeged.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -25,8 +25,8 @@
|
||||
/**
|
||||
* Pool manager interface
|
||||
*/
|
||||
#ifndef JERRY_MEM_POOLMAN_H
|
||||
#define JERRY_MEM_POOLMAN_H
|
||||
#ifndef MEM_POOLMAN_H
|
||||
#define MEM_POOLMAN_H
|
||||
|
||||
#include "jrt.h"
|
||||
|
||||
@@ -65,7 +65,7 @@ extern void mem_pools_get_stats (mem_pools_stats_t *);
|
||||
extern void mem_pools_stats_reset_peak (void);
|
||||
#endif /* MEM_STATS */
|
||||
|
||||
#endif /* JERRY_MEM_POOLMAN_H */
|
||||
#endif /* !MEM_POOLMAN_H */
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user