Delete stale prototypes that libiberty.h already provides, and add
missing libiberty.h includes to files that use those functions.
+2021-01-09 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-basics.h [__CYGWIN32__] (vasprintf, asprintf): Delete.
+ * sim-core.c, sim-watch.c: Include libiberty.h.
+
2021-01-09 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4: Replace duplicate text with pointer to README-HACKING.
#include <stdio.h>
#include <setjmp.h>
-#ifdef __CYGWIN32__
-extern int vasprintf (char **result, const char *format, va_list args);
-extern int asprintf (char **result, const char *format, ...);
-#endif
-
#ifndef NULL
#define NULL 0
#include "sim-main.h"
#include "sim-assert.h"
+#include "libiberty.h"
#if (WITH_HW)
#include "sim-hw.h"
#include "config.h"
#include "sim-main.h"
#include "sim-options.h"
+#include "libiberty.h"
#include "sim-assert.h"