]> git.proxmox.com Git - mirror_qemu.git/blobdiff - slirp/misc.c
slirp: Remove obsolete backward-compatibility cruft
[mirror_qemu.git] / slirp / misc.c
index 2fbd04856aaa70c7d92f993645af7283cc2aa88e..1a0ea1be4ef23a3be5d336ef8e0a84f7278c7425 100644 (file)
@@ -60,27 +60,6 @@ int add_exec(struct ex_list **ex_ptr, int do_pty, char *exec,
        return 0;
 }
 
-#ifndef HAVE_STRERROR
-
-/*
- * For systems with no strerror
- */
-
-extern int sys_nerr;
-extern char *sys_errlist[];
-
-char *
-strerror(error)
-       int error;
-{
-       if (error < sys_nerr)
-          return sys_errlist[error];
-       else
-          return "Unknown error.";
-}
-
-#endif
-
 
 #ifdef _WIN32