From 9ee31abfa2825b6e891bd0b4ceb87fc3b3e05f41 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 11 Jul 2017 11:25:58 +0200 Subject: Remove (now needless) extern strlen declaration. A leftover from when fz_write_string was a static inline in a header file. --- source/fitz/output.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/fitz') diff --git a/source/fitz/output.c b/source/fitz/output.c index 08ee50fe..c9f04b96 100644 --- a/source/fitz/output.c +++ b/source/fitz/output.c @@ -301,7 +301,6 @@ fz_write_data(fz_context *ctx, fz_output *out, const void *data, size_t size) void fz_write_string(fz_context *ctx, fz_output *out, const char *s) { - extern size_t strlen(const char *s); /* avoid including string.h in public header */ if (out) out->write(ctx, out->state, s, strlen(s)); } -- cgit v1.2.3