+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * server.h (perror_with_name, error, fatal, warning, paddress)
+ (pulongest, plongest, phex_nz, pfildes): Move to utils.h, and
+ include it.
+ * utils.h: New file.
+
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (remote_debug, noack_mode, transport_is_reliable)
#include "remote-utils.h"
-/* Functions from utils.c */
#include "common-utils.h"
-
-void perror_with_name (const char *string);
-void error (const char *string,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
-void fatal (const char *string,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
-void warning (const char *string,...) ATTRIBUTE_PRINTF (1, 2);
-char *paddress (CORE_ADDR addr);
-char *pulongest (ULONGEST u);
-char *plongest (LONGEST l);
-char *phex_nz (ULONGEST l, int sizeof_l);
-char *pfildes (gdb_fildes_t fd);
+#include "utils.h"
#include "gdb_assert.h"