scanf: skip + for %d
inet.h: fix htonl()'s prototype