Message ID | 1383638619-10735-1-git-send-email-tomasz.bursztyka@linux.intel.com |
---|---|
State | Accepted |
Headers | show |
On Tue, Nov 05, 2013 at 10:03:39AM +0200, Tomasz Bursztyka wrote: > Fixes: > In file included from utils.c:11:0: > ./internal.h:93:17: error: unknown type name 'FILE' > int nft_fprintf(FILE *fp, void *obj, uint32_t type, uint32_t flags, int > (*snprintf_cb)(char *buf, size_t bufsiz, void *obj, uint32_t type, > uint32_t flags)); Applied, thanks Tomasz. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/internal.h b/src/internal.h index 6449a9f..a10d874 100644 --- a/src/internal.h +++ b/src/internal.h @@ -90,6 +90,7 @@ const char *nft_verdict2str(uint32_t verdict); int nft_str2verdict(const char *verdict); int nft_get_value(enum nft_type type, void *val, void *out); +#include <stdio.h> int nft_fprintf(FILE *fp, void *obj, uint32_t type, uint32_t flags, int (*snprintf_cb)(char *buf, size_t bufsiz, void *obj, uint32_t type, uint32_t flags)); void xfree(const void *ptr);
Fixes: In file included from utils.c:11:0: ./internal.h:93:17: error: unknown type name 'FILE' int nft_fprintf(FILE *fp, void *obj, uint32_t type, uint32_t flags, int (*snprintf_cb)(char *buf, size_t bufsiz, void *obj, uint32_t type, uint32_t flags)); Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> --- src/internal.h | 1 + 1 file changed, 1 insertion(+)