]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fixincludes: Fix the return type of bsearch, char* -> void*.
authorJeffrey A Law <law@cygnus.com>
Fri, 13 Aug 1999 07:44:06 +0000 (07:44 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 13 Aug 1999 07:44:06 +0000 (01:44 -0600)
       Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        * fixincludes: Fix the return type of bsearch, char* -> void*.
        * fixinc/inclhack.def: Likewise.

From-SVN: r28697

gcc/ChangeLog
gcc/fixinc/fixincl.x
gcc/fixinc/inclhack.def
gcc/fixinc/inclhack.sh
gcc/fixincludes

index 71b7806c3f057082a4e2d7ea0bdb9e447bb7b5e7..b730db140e9500d8e8730660eb32eee29a56576b 100644 (file)
@@ -1,3 +1,9 @@
+Fri Aug 13 01:42:24 1999  Jeffrey A Law  (law@cygnus.com)
+
+       Tue Aug  3 00:03:41 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+        * fixincludes: Fix the return type of bsearch, char* -> void*.
+        * fixinc/inclhack.def: Likewise.
+
 Fri Aug 13 01:29:57 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * dwarfout.c (fundamental_type_code): Return FT_boolean for
index aacc190f327115358aa61603d05581eed6e10c94..bbd17eac8e0bf3f8bc535d2e603995951372b725 100644 (file)
@@ -2821,6 +2821,7 @@ const char* apzSysz_Stdlib_For_SunPatch[] = { "sed",
     "-e", "s/char[ \t]*\\*[ \t]*calloc/void \\*\tcalloc/g",
     "-e", "s/char[ \t]*\\*[ \t]*malloc/void \\*\tmalloc/g",
     "-e", "s/char[ \t]*\\*[ \t]*realloc/void \\*\trealloc/g",
+    "-e", "s/char[ \t]*\\*[ \t]*bsearch/void \\*\tbsearch/g",
     "-e", "s/int[ \t][ \t]*exit/void\texit/g",
     "-e", "/typedef[ \ta-zA-Z_]*[ \t]size_t[ \t]*;/i\\\n\
 #ifndef _GCC_SIZE_T\\\n\
index 7a9e305adb1e3e6c31b95710d213f610d164b078..6872cad61d075efd02fdb38542589ced9636a733 100644 (file)
@@ -2000,6 +2000,7 @@ fix = {
     sed   = "s/char[ \t]*\\*[ \t]*calloc/void \\*\tcalloc/g";
     sed   = "s/char[ \t]*\\*[ \t]*malloc/void \\*\tmalloc/g";
     sed   = "s/char[ \t]*\\*[ \t]*realloc/void \\*\trealloc/g";
+    sed   = "s/char[ \t]*\\*[ \t]*bsearch/void \\*\tbsearch/g";
     sed   = "s/int[ \t][ \t]*exit/void\texit/g";
 
     sed   = "/typedef[ \ta-zA-Z_]*[ \t]size_t[ \t]*;/i\\\n"
index 3445ce6711936638736f44ff52f2affb8f4094df..f6fab88798bee9db01fc7faa1e7f5f99492e1e19 100755 (executable)
@@ -2331,6 +2331,7 @@ extern unsigned int\
         -e 's/char[    ]*\*[   ]*calloc/void \*        calloc/g' \
         -e 's/char[    ]*\*[   ]*malloc/void \*        malloc/g' \
         -e 's/char[    ]*\*[   ]*realloc/void \*       realloc/g' \
+        -e 's/char[    ]*\*[   ]*bsearch/void \*       bsearch/g' \
         -e 's/int[     ][      ]*exit/void     exit/g' \
         -e '/typedef[  a-zA-Z_]*[      ]size_t[        ]*;/i\
 #ifndef _GCC_SIZE_T\
index ea031833016880a34745d7c67f5cc7b2e1b32454..e5cc1c373b69a75c3bb4be26dcb2755cc5ac0fff 100755 (executable)
@@ -1002,6 +1002,7 @@ if [ -r ${LIB}/$file ]; then
   -e 's/char[  ]*\*[   ]*calloc/void \*        calloc/g' \
   -e 's/char[  ]*\*[   ]*malloc/void \*        malloc/g' \
   -e 's/char[  ]*\*[   ]*realloc/void \*       realloc/g' \
+  -e 's/char[  ]*\*[   ]*bsearch/void \*       bsearch/g' \
   -e 's/int[   ][      ]*exit/void     exit/g' \
   -e "/$size_t_pattern/"'i\
 #ifndef _GCC_SIZE_T\