From 652251701df7dec1401eab9b1dbc7e3ac5c7e7ad Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 12 May 2009 14:15:01 +0200 Subject: s3-printing: no need to define struct table_node 4 times. Guenther --- source3/printing/nt_printing.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source3/printing/nt_printing.c') diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 17e3d40152..34b7a577f8 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -204,13 +204,7 @@ static const nt_forms_struct default_forms[] = { {"PRC Envelope #10 Rotated",0x1,0x6fd10,0x4f1a0,0x0,0x0,0x6fd10,0x4f1a0} }; -struct table_node { - const char *long_archi; - const char *short_archi; - int version; -}; - -static const struct table_node archi_table[]= { +static const struct print_architecture_table_node archi_table[]= { {"Windows 4.0", SPL_ARCH_WIN40, 0 }, {"Windows NT x86", SPL_ARCH_W32X86, 2 }, -- cgit