mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
includes: identifier consistency in include guards
Made all header files to have LABWC_ prefix in include guard identifers. Converted from __LABWC_ in 35 include/ files. Converted from __LAB_ in 5 include/ files. Added LABWC prefix to 3 include/ files. Added include guards to 3 include/ files. The double underscores were removed since according to C standard those "are always reserved for any use".
This commit is contained in:
parent
dbad5fc483
commit
7ad5200f2e
46 changed files with 141 additions and 129 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef __LABWC_MEM_H
|
||||
#define __LABWC_MEM_H
|
||||
#ifndef LABWC_MEM_H
|
||||
#define LABWC_MEM_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
@ -52,4 +52,4 @@ char *xstrdup(const char *str);
|
|||
free(ptr); (ptr) = NULL; \
|
||||
} while (0)
|
||||
|
||||
#endif /* __LABWC_MEM_H */
|
||||
#endif /* LABWC_MEM_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue