Patchwork curses: Remove OpenBSD workaround

login
register
mail settings
Submitter Brad
Date Nov. 19, 2012, 9:22 a.m.
Message ID <20121119092207.GA20679@rox.home.comstyle.com>
Download mbox | patch
Permalink /patch/199958/
State New
Headers show

Comments

Brad - Nov. 19, 2012, 9:22 a.m.
I removed the same sort of workaround for OpenBSD within the
configure script with commit 4dcc3f5876fa638d5c35bd47be3b717ea74cc2e7
but didn't bother to grep further to come across this same chunk
of code in the curses code itself. So the following diff removes
the same workaround chunk within the curses code.

Signed-off-by: Brad Smith <brad@comstyle.com>
Blue Swirl - Dec. 8, 2012, 5:52 p.m.
Thanks, applied.

On Mon, Nov 19, 2012 at 9:22 AM, Brad Smith <brad@comstyle.com> wrote:
> I removed the same sort of workaround for OpenBSD within the
> configure script with commit 4dcc3f5876fa638d5c35bd47be3b717ea74cc2e7
> but didn't bother to grep further to come across this same chunk
> of code in the curses code itself. So the following diff removes
> the same workaround chunk within the curses code.
>
> Signed-off-by: Brad Smith <brad@comstyle.com>
>
> diff --git a/ui/curses.c b/ui/curses.c
> index b40b223..5dc0b2c 100644
> --- a/ui/curses.c
> +++ b/ui/curses.c
> @@ -28,10 +28,6 @@
>  #include <termios.h>
>  #endif
>
> -#ifdef __OpenBSD__
> -#define resize_term resizeterm
> -#endif
> -
>  #include "qemu-common.h"
>  #include "console.h"
>  #include "sysemu.h"
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

Patch

diff --git a/ui/curses.c b/ui/curses.c
index b40b223..5dc0b2c 100644
--- a/ui/curses.c
+++ b/ui/curses.c
@@ -28,10 +28,6 @@ 
 #include <termios.h>
 #endif
 
-#ifdef __OpenBSD__
-#define resize_term resizeterm
-#endif
-
 #include "qemu-common.h"
 #include "console.h"
 #include "sysemu.h"