]> git.sesse.net Git - vlc/blobdiff - modules/visualization/galaktos/func.c
Replaced vout_InitPicture/Format with their equivalent.
[vlc] / modules / visualization / galaktos / func.c
index b165a0ad7fbc1a9caed04eac636bbaf3414fe7ee..73aa95f66763a51eea7e927c1391f8f174d9f3ed 100644 (file)
@@ -1,6 +1,8 @@
 /* Function management */
 
 #include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
 
 #include "common.h"
 #include "fatal.h"
@@ -36,7 +38,7 @@ void * copy_func_key(char * string) {
 }      
 
 
-func_t * create_func (char * name, double (*func_ptr)(), int num_args) {
+func_t * create_func (const char * name, double (*func_ptr)(), int num_args) {
 
   func_t * func;
   func = (func_t*)malloc(sizeof(func_t));
@@ -135,7 +137,7 @@ int compare_func(char * name, char * name2) {
 }
 
 /* Loads a builtin function */
-int load_builtin_func(char * name,  double (*func_ptr)(), int num_args) {
+int load_builtin_func(const char * name,  double (*func_ptr)(), int num_args) {
 
   func_t * func; 
   int retval;