Function movements

* string functions mstr*() are moved to string_utils.c
* allocation wrappers are moved to utils.h
* printf_* functions are moved to log.h

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-12-15 17:42:37 +00:00
parent c2c16fb8a1
commit 0cebbc370a
15 changed files with 174 additions and 147 deletions

View File

@@ -4,7 +4,7 @@ deps = [
dependency('xcb', version: '>=1.9.2')
]
srcs = ['compton.c', 'win.c', 'c2.c', 'x.c', 'config.c', 'diagnostic.c']
srcs = ['compton.c', 'win.c', 'c2.c', 'x.c', 'config.c', 'diagnostic.c', 'string_utils.c']
cflags = []