summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2006-05-27 18:23:37 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2006-05-27 18:23:37 +0000
commit93c15bea6874062c6e10c758e3383b393c88e386 (patch)
tree562ee228de90002a40f6de2f5b467902894e87c8 /scripts
parent65896eca5b71e7add403b9b9104bb7a788426f57 (diff)
downloadclasspath-93c15bea6874062c6e10c758e3383b393c88e386.tar.gz
2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/java-net/java_net_VMURLConnection.c: Fix function declarations to specify unused parameters. * scripts/check_jni_methods.sh: Remove copies of the same function using uniq.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check_jni_methods.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check_jni_methods.sh b/scripts/check_jni_methods.sh
index 243bb7e4a..999e143ec 100755
--- a/scripts/check_jni_methods.sh
+++ b/scripts/check_jni_methods.sh
@@ -29,7 +29,7 @@ find native/jni -name \*.cpp | \
cut -f4 -d\ | \
LC_ALL=C sed -e 's,^\JNIEXPORT .* JNICALL \(Java_[a-z_A-Z0-9]*\) *(.*$,\1,' >> $TMPFILE2
mv $TMPFILE2 $TMPFILE3
-sort $TMPFILE3 > $TMPFILE2
+sort $TMPFILE3 | uniq > $TMPFILE2
rm $TMPFILE3
# Write temporary ignore file.