]> git.sesse.net Git - vlc/commitdiff
Forgot to update the symbols
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 21 Jan 2008 19:18:03 +0000 (19:18 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 21 Jan 2008 19:18:03 +0000 (19:18 +0000)
src/check_symbols
src/libvlc.sym

index 86265ebd42bde1eb411a340be90e98ad57e16c8d..cc50aef971a3e203697067ebbb07f80df045c16c 100755 (executable)
@@ -8,4 +8,12 @@ cat ${srcdir}/../include/vlc_*.h | \
 sed -n -e 's/^VLC_EXPORT\s*([^,]*,\s*\([a-zA-Z0-9_]*\)\s*,.*$/\1/p' | \
 sort -du > libvlc-headers.sym
 
-exec diff -u ${srcdir}/libvlc.sym libvlc-headers.sym
+if grep -e "^_" libvlc-headers.sym; then
+       echo "Illegal symbol name (starting with underscore) found!";
+       exit 1
+fi
+
+if ! diff -u ${srcdir}/libvlc.sym libvlc-headers.sym; then
+       echo "Mismatching symbols found!"
+       exit 1
+fi
index bbe728511cefd2764525f173923ccb6c6e14c9cb..d6e8bd4a1eb5f0837783e246bd3a7bd3e7fe1496 100644 (file)
@@ -182,6 +182,7 @@ msleep
 mstrtime
 mwait
 __net_Accept
+net_AcceptSingle
 __net_Connect
 __net_ConnectDgram
 __net_Gets