proc-events.c: fix compilation on Solaris
[deliverable/binutils-gdb.git] / gdb / utils.h
index d3b8871b58220286d2148ff2f1fa6a0144fb24e4..4dec889d83e92d0561f1f7a73ef9c338335d72ef 100644 (file)
@@ -101,7 +101,6 @@ extern int streq_hash (const void *, const void *);
 extern int subset_compare (const char *, const char *);
 
 int compare_positive_ints (const void *ap, const void *bp);
-int compare_strings (const void *ap, const void *bp);
 
 /* Compare C strings for std::sort.  */
 
@@ -419,7 +418,10 @@ extern void fputstr_unfiltered (const char *str, int quotr,
 extern void fputstrn_filtered (const char *str, int n, int quotr,
                               struct ui_file * stream);
 
+typedef int (*do_fputc_ftype) (int c, ui_file *stream);
+
 extern void fputstrn_unfiltered (const char *str, int n, int quotr,
+                                do_fputc_ftype do_fputc,
                                 struct ui_file * stream);
 
 /* Return nonzero if filtered printing is initialized.  */
This page took 0.031038 seconds and 4 git commands to generate.