From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4paf-0004i2-Tq for qemu-devel@nongnu.org; Tue, 06 Mar 2012 03:17:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4pab-0003Mt-CQ for qemu-devel@nongnu.org; Tue, 06 Mar 2012 03:17:49 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:61396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pab-0003Mj-3U for qemu-devel@nongnu.org; Tue, 06 Mar 2012 03:17:45 -0500 Received: by wibhi18 with SMTP id hi18so3073809wib.4 for ; Tue, 06 Mar 2012 00:17:42 -0800 (PST) Date: Tue, 6 Mar 2012 16:17:33 +0800 From: Chen Yufei Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] ModuleEntry field type not used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org In module.c typedef struct ModuleEntry { module_init_type type; void (*init)(void); QTAILQ_ENTRY(ModuleEntry) node; } ModuleEntry; The field `type` is not set in `register_module_init`. As different types of modules use their own list, I guess this field is no long being used, and I have no problem compiling qemu after deleting this filed. -- Best regards, Chen Yufei