mojoshader_preprocessor.c
changeset 633 9cd2376b9aa2
parent 632 a5f63a10ed91
child 636 6923c9cfb4b9
--- a/mojoshader_preprocessor.c	Sun Feb 15 20:13:46 2009 -0500
+++ b/mojoshader_preprocessor.c	Sun Feb 15 20:14:35 2009 -0500
@@ -259,13 +259,13 @@
     BufferList *tail;
 } Buffer;
 
-static void buffer_init(Buffer *buffer)
+static void init_buffer(Buffer *buffer)
 {
     buffer->total_bytes = 0;
     buffer->head.bytes = 0;
     buffer->head.next = NULL;
     buffer->tail = &buffer->head;
-} // buffer_init
+} // init_buffer
 
 
 static int add_to_buffer(Buffer *buffer, const char *data,
@@ -328,7 +328,7 @@
         f(item, d);
         item = next;
     } // while
-    buffer_init(buffer);
+    init_buffer(buffer);
 } // free_buffer
 
 
@@ -1225,7 +1225,7 @@
     const char *tokstr = NULL;
 
     Buffer buffer;
-    buffer_init(&buffer);
+    init_buffer(&buffer);
 
     int nl = 1;
     int indent = 0;