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 86265eb..cc50aef 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 bbe7285..d6e8bd4 100644 (file)
@@ -182,6 +182,7 @@ msleep
 mstrtime
 mwait
 __net_Accept
+net_AcceptSingle
 __net_Connect
 __net_ConnectDgram
 __net_Gets