Revert "libc: Bring in getdate() from NetBSD for POSIX conformance."