* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git] / gdb / defs.h
index f7b3d6129cd40238a18f15fa1d07232d5efb6121..35749d0c47a93e6de44e7cb0e0f3f3e7a73efb39 100644 (file)
@@ -180,7 +180,7 @@ discard_cleanups PARAMS ((struct cleanup *));
 
    Should be, once all calls and called-functions are cleaned up:
 extern struct cleanup *
-make_cleanup PARAMS ((void (*function) (PTR), PTR));
+make_cleanup PARAMS ((void (*function) (void *), void *));
 
    Until then, lint and/or various type-checking compiler options will
    complain about make_cleanup calls.  It'd be wrong to just cast things,
@@ -265,10 +265,12 @@ perror_with_name PARAMS ((char *));
 extern void
 print_sys_errmsg PARAMS ((char *, int));
 
-/* From regex.c */
+/* From regex.c or libc.  BSD 4.4 declares this with the argument type as
+   "const char *" in unistd.h, so we can't declare the argument
+   as "char *".  */
 
 extern char *
-re_comp PARAMS ((char *));
+re_comp PARAMS ((const char *));
 
 /* From symfile.c */
 
This page took 0.023778 seconds and 4 git commands to generate.