OSDN Git Service

2004-04-08 Joel Sherrill <joel@oarcorp.com>
[pf3gnuchains/gcc-fork.git] / gcc / ada / s-strops.adb
index b3d882c..5440f72 100644 (file)
@@ -6,8 +6,7 @@
 --                                                                          --
 --                                 B o d y                                  --
 --                                                                          --
---                                                                          --
---          Copyright (C) 1992-1998 Free Software Foundation, Inc.          --
+--          Copyright (C) 1992-2002 Free Software Foundation, Inc.          --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
@@ -103,26 +102,6 @@ package body System.String_Ops is
       end if;
    end Str_Concat_SC;
 
-   ---------------
-   -- Str_Equal --
-   ---------------
-
-   function Str_Equal (A, B : String) return Boolean is
-   begin
-      if A'Length /= B'Length then
-         return False;
-
-      else
-         for J in A'Range loop
-            if A (J) /= B (J + (B'First - A'First)) then
-               return False;
-            end if;
-         end loop;
-
-         return True;
-      end if;
-   end Str_Equal;
-
    -------------------
    -- Str_Normalize --
    -------------------