Move fmtcheck and fgetln declarations to <bsd/stdio.h>

This is were they are located on the BSDs.
This commit is contained in:
Guillem Jover
2009-12-11 23:24:31 +01:00
parent ca28f28046
commit 7a70f1b019
4 changed files with 46 additions and 6 deletions

View File

@@ -37,7 +37,8 @@
/* For compatibility with NetBSD, which defines humanize_number here. */
#include <libutil.h>
/* FIXME: Temporary inclusion to avoid API breakage, will be removed soon. */
/* FIXME: Temporary inclusions to avoid API breakage, will be removed soon. */
#include <bsd/stdio.h>
#include <bsd/unistd.h>
__BEGIN_DECLS
@@ -47,8 +48,6 @@ void arc4random_addrandom(u_char *dat, int datlen);
int dehumanize_number(const char *str, int64_t *size);
const char *fmtcheck (const char *, const char *);
char *getprogname ();
void setprogname (char *);