mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
src: include primary header first
This is a common practice in C projects, which simply enforces that each header must compile cleanly without implicit dependencies on other headers (see also the previous commit).
This commit is contained in:
parent
c9b576982d
commit
31d42b50e2
74 changed files with 74 additions and 72 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#include "common/string-helpers.h"
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
|
@ -7,7 +8,6 @@
|
|||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include "common/mem.h"
|
||||
#include "common/string-helpers.h"
|
||||
|
||||
enum str_flags {
|
||||
STR_FLAG_NONE = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue