]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/file-cookie.cc
Add vector constructor with size argument
[lilypond.git] / flower / file-cookie.cc
index 8f4c9c4f85be8372c6407808090d7c38bc54a6f1..39e76e35169710ee13c616f9b38d3d3c6811992e 100644 (file)
@@ -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;
   }