waiter: Don't rely on global variables to keep waiter state
[petitboot] / lib / waiter /
drwxr-xr-x   ..
-rw-r--r-- 2013 waiter.c
-rw-r--r-- 495 waiter.h