[vlc-devel] commit: Fix prototypes ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jun 1 09:50:32 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jun  1 10:48:49 2008 +0300| [6f9eedc7b73936de86ab406f9cfd3e3946d68d96]

Fix prototypes

/!\ In pure C, `()` means `(...)`, not `(void)`

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f9eedc7b73936de86ab406f9cfd3e3946d68d96
---

 src/control/core.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/control/core.c b/src/control/core.c
index 9886568..b5efae2 100644
--- a/src/control/core.c
+++ b/src/control/core.c
@@ -187,17 +187,17 @@ int libvlc_get_vlc_id( libvlc_instance_t *p_instance )
     return p_instance->p_libvlc_int->i_object_id;
 }
 
-const char * libvlc_get_version()
+const char * libvlc_get_version(void)
 {
     return VLC_Version();
 }
 
-const char * libvlc_get_compiler()
+const char * libvlc_get_compiler(void)
 {
     return VLC_Compiler();
 }
 
-const char * libvlc_get_changeset()
+const char * libvlc_get_changeset(void)
 {
     return VLC_Changeset();
 }




More information about the vlc-devel mailing list