libnetbsd: Make the function declaration of efopen() match the definition

In order to crossbuild FreeBSD on Mac/Linux I also need to build libnetbsd
and FILE* is not equal to struct __sFILE on those platforms.

Reviewed By:	brooks, emaste
Approved By:	jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D13305
This commit is contained in:
Alex Richardson 2018-01-16 21:43:21 +00:00
parent 981887b970
commit 5c050bc4fc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328062

View file

@ -37,6 +37,7 @@
#include <sys/types.h>
#include <libutil.h>
#include <stdio.h>
void (*esetfunc(void (*)(int, const char *, ...)))(int, const char *, ...);
size_t estrlcpy(char *, const char *, size_t);
@ -46,7 +47,7 @@ char *estrndup(const char *, size_t);
void *emalloc(size_t);
void *ecalloc(size_t, size_t);
void *erealloc(void *, size_t);
struct __sFILE *efopen(const char *, const char *);
FILE *efopen(const char *, const char *);
int easprintf(char ** __restrict, const char * __restrict, ...)
__printflike(2, 3);
int evasprintf(char ** __restrict, const char * __restrict, __va_list)