From: Bruno Haible Date: Fri, 2 Jun 2023 23:25:06 +0000 (+0200) Subject: libtextstyle: Silence a "no previous prototype" warning. X-Git-Tag: v0.22~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aae99b033f178b0fd1198151b8935641064e9813;p=thirdparty%2Fgettext.git libtextstyle: Silence a "no previous prototype" warning. * libtextstyle/gnulib-local/lib/memory-ostream.oo.c (memory_ostream::contents): Mark as static. --- diff --git a/libtextstyle/gnulib-local/lib/memory-ostream.oo.c b/libtextstyle/gnulib-local/lib/memory-ostream.oo.c index a5f73126b..46a0d895d 100644 --- a/libtextstyle/gnulib-local/lib/memory-ostream.oo.c +++ b/libtextstyle/gnulib-local/lib/memory-ostream.oo.c @@ -1,5 +1,5 @@ /* Output stream that accumulates the output in memory. - Copyright (C) 2006-2007, 2019-2020 Free Software Foundation, Inc. + Copyright (C) 2006-2007, 2019-2020, 2023 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software: you can redistribute it and/or modify @@ -77,7 +77,7 @@ memory_ostream::free (memory_ostream_t stream) /* Implementation of memory_ostream_t methods. */ -void +static void memory_ostream::contents (memory_ostream_t stream, const void **bufp, size_t *buflenp) {