mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -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
|
|
@ -5,8 +5,8 @@
|
|||
* Copyright Johan Malm 2020
|
||||
*/
|
||||
|
||||
#ifndef __LABWC_BUF_H
|
||||
#define __LABWC_BUF_H
|
||||
#ifndef LABWC_BUF_H
|
||||
#define LABWC_BUF_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -39,4 +39,4 @@ void buf_init(struct buf *s);
|
|||
*/
|
||||
void buf_add(struct buf *s, const char *data);
|
||||
|
||||
#endif /* __LABWC_BUF_H */
|
||||
#endif /* LABWC_BUF_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue