[vlc-devel] [PATCH 1/3] Fixed warning for missing prototype with .h file
Ian Chamberlain
ian.h.chamberlain at gmail.com
Sun Mar 1 09:02:21 CET 2015
I fixed these three warnings. I don't think this will break anything.
This was a missing prototype, I added a .h file to fix this.
---
compat/strverscmp.c | 1 +
compat/strverscmp.h | 1 +
2 files changed, 2 insertions(+)
create mode 100644 compat/strverscmp.h
diff --git a/compat/strverscmp.c b/compat/strverscmp.c
index 0487592..3223b45 100644
--- a/compat/strverscmp.c
+++ b/compat/strverscmp.c
@@ -21,6 +21,7 @@
#include <stdint.h>
#include <string.h>
#include <ctype.h>
+#include "strverscmp.h"
/* states: S_N: normal, S_I: comparing integral part, S_F: comparing
fractionnal parts, S_Z: idem but with leading Zeroes only */
diff --git a/compat/strverscmp.h b/compat/strverscmp.h
new file mode 100644
index 0000000..c0e0de5
--- /dev/null
+++ b/compat/strverscmp.h
@@ -0,0 +1 @@
+int strverscmp (const char *s1, const char *s2);
--
2.3.1
More information about the vlc-devel
mailing list