X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Ffile-cookie.cc;h=bedb100a00b26b4ac246e7948dd4c3166795f8f2;hb=c93711ee1a7fb3c2eaec4ffeeb3e6d38851d760f;hp=8f4c9c4f85be8372c6407808090d7c38bc54a6f1;hpb=4ecdbd7d70ca7441be4dddd15ac01cc255bc2a35;p=lilypond.git diff --git a/flower/file-cookie.cc b/flower/file-cookie.cc index 8f4c9c4f85..bedb100a00 100644 --- a/flower/file-cookie.cc +++ b/flower/file-cookie.cc @@ -7,7 +7,7 @@ using namespace std; extern "C" { - static bool + bool is_memory_stream (void *foo) { Memory_out_stream *cookie = (Memory_out_stream *) foo; @@ -15,12 +15,10 @@ extern "C" { } void * - lily_fopencookie (void *cookie, char const *modes, - lily_cookie_io_functions_t io_funcs) + lily_fopencookie (void *cookie, + char const * /* modes */, + lily_cookie_io_functions_t /* io_funcs */) { - (void) cookie; - (void) modes; - (void) io_funcs; assert (is_memory_stream (cookie)); return (FILE *) cookie; }