mirror of
https://github.com/labwc/labwc.git
synced 2026-02-05 04:06:33 -05: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_STRING_HELPERS_H
|
||||
#define __LABWC_STRING_HELPERS_H
|
||||
#ifndef LABWC_STRING_HELPERS_H
|
||||
#define LABWC_STRING_HELPERS_H
|
||||
|
||||
/**
|
||||
* string_strip - strip white space left and right
|
||||
|
|
@ -16,4 +16,4 @@ char *string_strip(char *s);
|
|||
*/
|
||||
void string_truncate_at_pattern(char *buf, const char *pattern);
|
||||
|
||||
#endif /* __LABWC_STRING_HELPERS_H */
|
||||
#endif /* LABWC_STRING_HELPERS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue