gri3-wm/i3-nagbar
hwangcc 42515308e7 Add a safe wrapper for write and fix some warnings
1. Add a function writeall and make swrite wrap that function. Use either writeall or swrite, depending on whether we want to exit on errors or not.
2. Fix warnings when compiling with a higher optimisation level.
(CFLAGS ?= -pipe -O3 -march=native -mtune=native -freorder-blocks-and-partition)

Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
2015-03-29 10:22:34 +08:00
..
Makefile Add stub Makefiles to allow subdir make calls 2012-07-22 19:57:48 +02:00
atoms.xmacro add i3-nagbar. tells you about config file errors (for example) 2011-07-10 14:33:19 +02:00
i3-nagbar.h clang-format-3.5 **/*.h **/*.c 2014-06-19 11:20:32 +02:00
i3-nagbar.mk fix compilation with older xcb-util with -DXCB_COMPAT (Thanks okraits) 2012-09-03 14:55:27 +02:00
main.c Add a safe wrapper for write and fix some warnings 2015-03-29 10:22:34 +08:00