Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmS3L-00066f-06 for qemu-devel@nongnu.org; Sun, 05 Oct 2008 07:45:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmS3K-00066L-AE for qemu-devel@nongnu.org; Sun, 05 Oct 2008 07:45:34 -0400 Received: from [199.232.76.173] (port=33411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmS3K-00066H-6U for qemu-devel@nongnu.org; Sun, 05 Oct 2008 07:45:34 -0400 Received: from savannah.gnu.org ([199.232.41.3]:40940 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmS3K-0004UX-3y for qemu-devel@nongnu.org; Sun, 05 Oct 2008 07:45:34 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KmS3G-0003N2-0z for qemu-devel@nongnu.org; Sun, 05 Oct 2008 11:45:30 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KmS3E-0003Mx-4U for qemu-devel@nongnu.org; Sun, 05 Oct 2008 11:45:28 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sun, 05 Oct 2008 11:45:28 +0000 Subject: [Qemu-devel] [5429] Make various generated structures static Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5429 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5429 Author: blueswir1 Date: 2008-10-05 11:45:25 +0000 (Sun, 05 Oct 2008) Log Message: ----------- Make various generated structures static Modified Paths: -------------- trunk/linux-user/syscall.c Modified: trunk/linux-user/syscall.c =================================================================== --- trunk/linux-user/syscall.c 2008-10-05 11:09:37 UTC (rev 5428) +++ trunk/linux-user/syscall.c 2008-10-05 11:45:25 UTC (rev 5429) @@ -2119,7 +2119,7 @@ #undef STRUCT #undef STRUCT_SPECIAL -#define STRUCT(name, list...) const argtype struct_ ## name ## _def[] = { list, TYPE_NULL }; +#define STRUCT(name, list...) static const argtype struct_ ## name ## _def[] = { list, TYPE_NULL }; #define STRUCT_SPECIAL(name) #include "syscall_types.h" #undef STRUCT