Remove make_cleanup_clear_parser_state
[deliverable/binutils-gdb.git] / gdb / utils.c
index af50cf09d6a07f3b415f7dbbb556a1d141623642..f2da2df60f56c8f533e120f133408204350299df 100644 (file)
@@ -257,24 +257,6 @@ make_cleanup_value_free (struct value *value)
   return make_cleanup (do_value_free, value);
 }
 
-/* Helper function for make_cleanup_clear_parser_state.  */
-
-static void
-do_clear_parser_state (void *ptr)
-{
-  struct parser_state **p = (struct parser_state **) ptr;
-
-  *p = NULL;
-}
-
-/* Clean (i.e., set to NULL) the parser state variable P.  */
-
-struct cleanup *
-make_cleanup_clear_parser_state (struct parser_state **p)
-{
-  return make_cleanup (do_clear_parser_state, (void *) p);
-}
-
 /* This function is useful for cleanups.
    Do
 
This page took 0.02474 seconds and 4 git commands to generate.