From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs6hL-0004GM-SB for qemu-devel@nongnu.org; Tue, 31 Jan 2012 00:56:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rs6hJ-0008H2-Iw for qemu-devel@nongnu.org; Tue, 31 Jan 2012 00:56:07 -0500 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:54845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs6hI-0008GF-Sq for qemu-devel@nongnu.org; Tue, 31 Jan 2012 00:56:05 -0500 Received: from /spool/local by e28smtp03.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 31 Jan 2012 11:25:54 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0V5tobW3920074 for ; Tue, 31 Jan 2012 11:25:51 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0V5tnwI020642 for ; Tue, 31 Jan 2012 16:55:49 +1100 Received: from localhost ([9.123.247.48]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q0V5tnoA020572 for ; Tue, 31 Jan 2012 16:55:49 +1100 Date: Tue, 31 Jan 2012 13:55:48 +0800 From: Richard Yang Message-ID: <20120131055547.GA23981@richard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] Why QEMUClock is defined in qemu-timer.c? Reply-To: Richard Yang List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, experts I am just coming to the qemu world. While reading the code, I am wondering why put a struct definition in the c file? Seems there is no error in compile, while I felt it is not a proper way to do it. -- Richard Yang Help you, Help me