~ruther/dwl

ref: d1ebf3c9855ec643c877a2216eaad21e179cd447 dwl/util.h -rw-r--r-- 1.1 KiB
7fb20244 — Siva Mahadevan 9 months ago
move util.c to util.h

This allows single-source compilation and whole-program optimization using something like:

make CFLAGS='-flto -ffunction-sections -fdata-sections -Wl,--gc-sections'

Furthermore, move more compositor-agnostic utility functions/macros to util.h,
similar to the original dwm sources.
71f11e6c — Leonardo Hernández Hernández 2 years ago
set O_NONBLOCK flag to stdout
29a2b647 — Leonardo Hernández Hernández 4 years ago
Merge remote-tracking branch 'djpohly/main' into HEAD
aab397c3 — Leonardo Hernández Hernández 4 years ago
new functions ecalloc() and die()

die() replaces EBARF and BARF
and allow us to add `-pedantic` to CFLAGS