]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libtextstyle: Silence a "no previous prototype" warning.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Jun 2023 23:25:06 +0000 (01:25 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Jun 2023 23:25:06 +0000 (01:25 +0200)
* libtextstyle/gnulib-local/lib/memory-ostream.oo.c (memory_ostream::contents):
Mark as static.

libtextstyle/gnulib-local/lib/memory-ostream.oo.c

index a5f73126bd1320f9f86317227ee85dacf0343095..46a0d895d9992cf6fcaf866cbdc9ba06087275d3 100644 (file)
@@ -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 <bruno@clisp.org>, 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)
 {