(sys/stat.h): Don't change definitions into
authorRichard Stallman <rms@gnu.org>
Sat, 30 Oct 1993 03:09:02 +0000 (03:09 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 30 Oct 1993 03:09:02 +0000 (03:09 +0000)
prototypes if they may already be in prototype form.

From-SVN: r5936

gcc/fixinc.svr4

index 0f33bc2..abc0fef 100755 (executable)
@@ -1127,28 +1127,28 @@ if [ \! -z "$file_to_fix" ]; then
   echo Checking $file_to_fix
   cp $file_to_fix /tmp/$base
   chmod +w /tmp/$base
-  sed -e '/^stat(/{
+  sed -e '/^stat([     ]*[^c]/{
 N
 N
 s/(.*)\n/( /
 s/;\n/, /
 s/;$/)/
 }' \
-  -e '/^lstat(/{
+  -e '/^lstat([        ]*[^c]/{
 N
 N
 s/(.*)\n/( /
 s/;\n/, /
 s/;$/)/
 }' \
-  -e '/^fstat(/{
+  -e '/^fstat([        ]*[^i]/{
 N
 N
 s/(.*)\n/( /
 s/;\n/, /
 s/;$/)/
 }' \
-  -e '/^mknod(/{
+  -e '/^mknod([        ]*[^c]/{
 N
 N
 N