diff options
-rw-r--r-- | include/osl/detail/component-mapping.h | 2 | ||||
-rwxr-xr-x | solenv/bin/native-code.py | 2 |
2 files changed, 2 insertions, 2 deletions
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') |