From patchwork Mon Jul 30 07:21:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Jaeger X-Patchwork-Id: 174093 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 001482C009D for ; Tue, 31 Jul 2012 07:03:45 +1000 (EST) Received: from localhost ([::1]:47963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svx7v-00082s-Pp for incoming@patchwork.ozlabs.org; Mon, 30 Jul 2012 17:03:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvkI6-0002ra-3l for qemu-devel@nongnu.org; Mon, 30 Jul 2012 03:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvkI4-0007nN-U2 for qemu-devel@nongnu.org; Mon, 30 Jul 2012 03:21:22 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50653 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvkI4-0007n5-NY for qemu-devel@nongnu.org; Mon, 30 Jul 2012 03:21:20 -0400 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3048AA2BD5; Mon, 30 Jul 2012 09:21:18 +0200 (CEST) From: Andreas Jaeger To: qemu-devel@nongnu.org Date: Mon, 30 Jul 2012 09:21:16 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 X-Mailman-Approved-At: Mon, 30 Jul 2012 17:03:24 -0400 Cc: riku.voipio@iki.fi Subject: [Qemu-devel] [PATCH] Use siginfo_t instead of struct siginfo. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org glibc 2.16 does not export the undocumented struct siginfo anymore. qemu uses already in most cases siginfo_t, this patch fixes the last three occurences. Signed-off-by: Andreas Jaeger --- linux-user/signal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index 97f30d9..a859a45 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -3255,7 +3255,7 @@ struct target_signal_frame { }; struct rt_signal_frame { - struct siginfo info; + siginfo_t info; struct ucontext uc; uint32_t tramp[2]; }; @@ -3474,9 +3474,9 @@ struct target_signal_frame { }; struct rt_signal_frame { - struct siginfo *pinfo; + siginfo_t *pinfo; void *puc; - struct siginfo info; + siginfo_t info; struct ucontext uc; uint8_t retcode[8]; /* Trampoline code. */ };