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:
Tomi Ollila 2023-05-13 16:10:33 +03:00 committed by Johan Malm
parent dbad5fc483
commit 7ad5200f2e
46 changed files with 141 additions and 129 deletions

View file

@ -5,8 +5,8 @@
* Copyright Johan Malm 2020
*/
#ifndef __LABWC_PARSE_H
#define __LABWC_PARSE_H
#ifndef LABWC_PARSE_H
#define LABWC_PARSE_H
#include "xbm/tokenize.h"
#include <stdint.h>
@ -35,4 +35,4 @@ struct pixmap parse_xbm_tokens(struct token *tokens);
*/
struct pixmap parse_xbm_builtin(const char *button, int size);
#endif /* __LABWC_PARSE_H */
#endif /* LABWC_PARSE_H */

View file

@ -5,8 +5,8 @@
* Copyright Johan Malm 2020
*/
#ifndef __LABWC_TOKENIZE_H
#define __LABWC_TOKENIZE_H
#ifndef LABWC_TOKENIZE_H
#define LABWC_TOKENIZE_H
enum token_type {
TOKEN_NONE = 0,
@ -31,4 +31,4 @@ struct token {
*/
struct token *tokenize_xbm(char *buffer);
#endif /* __LABWC_TOKENIZE_H */
#endif /* LABWC_TOKENIZE_H */

View file

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LABWC_XBM_H
#define __LABWC_XBM_H
#ifndef LABWC_XBM_H
#define LABWC_XBM_H
#include <wlr/render/wlr_renderer.h>
@ -11,4 +11,4 @@
*/
void xbm_load(struct theme *theme);
#endif /* __LABWC_XBM_H */
#endif /* LABWC_XBM_H */