diff --git a/include/osl/detail/component-mapping.h b/include/osl/detail/component-mapping.h index 4d4264180476..64c967019ba0 100644 --- a/include/osl/detail/component-mapping.h +++ b/include/osl/detail/component-mapping.h @@ -31,7 +31,7 @@ typedef struct { typedef struct { const char *name; - void * (*constructor_function)(void *, void *); + void (*constructor_function)(void); } lib_to_constructor_mapping; const lib_to_factory_mapping *lo_get_factory_map(void); diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index bd84bd68e305..b64606bac16e 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -879,7 +879,7 @@ for constructor in sorted(full_constructor_map.keys()): constructor_guard = get_constructor_guard(constructor) if constructor_guard: print (constructor_guard) - print ('void * '+constructor+'( void *, void * );') + print ('void '+constructor+'( void );') if constructor_guard: print ('#endif')