windows-nat: Cleanups in get_windows_debug_event
[deliverable/binutils-gdb.git] / gdb / dictionary.c
index 2c81182cb5cffbf44d27a52ec3c373b6cb24b9ee..a16955a071a8d6e2ac5505f06380e395dc4e4828 100644 (file)
@@ -806,7 +806,7 @@ dict_hash (const char *string0)
   string = string0;
   if (*string == '_')
     {
-      if (strncmp (string, "_ada_", 5) == 0)
+      if (startswith (string, "_ada_"))
        string += 5;
       else
        return msymbol_hash_iw (string0);
This page took 0.024976 seconds and 4 git commands to generate.