Less implicit declaration of function warning spam:
dbglog

Change-Id: I8fd34dff9f37c78bee38e2a5902f5c1ad65139e1
Proper declaration of functions:
getutent
pututline
endutent

Change-Id: I4df114734408bb005f64dd7a190729d8746d854e