manually inline things

Signed-off-by: Sebastian Freundt <hroptatyr@fresse.org>