From 9485298f78a1d5a076064cb272c59bf9d59d3c72 Mon Sep 17 00:00:00 2001 From: Andre Leiradella Date: Fri, 9 Oct 2015 13:48:17 -0300 Subject: [PATCH] fix function signatures; fix license on jsonsax --- cheevos.c | 4 ++-- cheevos.h | 4 ++-- libretro-common/formats/json/jsonsax.c | 2 +- libretro-common/include/formats/jsonsax.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cheevos.c b/cheevos.c index 0ca2267819..f216d10498 100644 --- a/cheevos.c +++ b/cheevos.c @@ -1021,7 +1021,7 @@ static void test_cheevo_set( const cheevoset_t* set ) } } -void cheevos_test( int unofficial ) +void cheevos_test( void ) { #ifdef HAVE_SMW_CHEEVOS static int init = 1; @@ -1076,7 +1076,7 @@ static void free_cheevo_set( const cheevoset_t* set ) free( (void*)set->cheevos ); } -void cheevos_unload() +void cheevos_unload( void ) { free_cheevo_set( &core_cheevos ); free_cheevo_set( &unofficial_cheevos ); diff --git a/cheevos.h b/cheevos.h index dfcd589ce5..14ebc61488 100644 --- a/cheevos.h +++ b/cheevos.h @@ -27,7 +27,7 @@ cheevos_config_t; extern cheevos_config_t cheevos_config; int cheevos_load( const char* json ); -void cheevos_test(); -void cheevos_unload(); +void cheevos_test( void ); +void cheevos_unload( void ); #endif /* __RARCH_CHEEVOS_H */ diff --git a/libretro-common/formats/json/jsonsax.c b/libretro-common/formats/json/jsonsax.c index 8d78689474..e352dccfb1 100644 --- a/libretro-common/formats/json/jsonsax.c +++ b/libretro-common/formats/json/jsonsax.c @@ -1,7 +1,7 @@ /* Copyright (C) 2010-2015 The RetroArch team * * --------------------------------------------------------------------------------------- - * The following license statement only applies to this file (rxml.c). + * The following license statement only applies to this file (jsonsax.c). * --------------------------------------------------------------------------------------- * * Permission is hereby granted, free of charge, diff --git a/libretro-common/include/formats/jsonsax.h b/libretro-common/include/formats/jsonsax.h index 4d1d73b0e2..76860fe5f5 100644 --- a/libretro-common/include/formats/jsonsax.h +++ b/libretro-common/include/formats/jsonsax.h @@ -1,7 +1,7 @@ /* Copyright (C) 2010-2015 The RetroArch team * * --------------------------------------------------------------------------------------- - * The following license statement only applies to this file (rxml.h). + * The following license statement only applies to this file (jsonsax.h). * --------------------------------------------------------------------------------------- * * Permission is hereby granted, free of charge,