Update misc.c

Stripped comments and changed formatting. Removed FBSD ID and lint information