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/rpc_server/srv_spoolss_nt.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source3/rpc_server/srv_spoolss_nt.c') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 28c59d1feea..8280011cc20 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -53,12 +53,6 @@ extern userdom_struct current_user_info; #define MAGIC_DISPLAY_FREQUENCY 0xfade2bad #define PHANTOM_DEVMODE_KEY "_p_f_a_n_t_0_m_" -struct table_node { - const char *long_archi; - const char *short_archi; - int version; -}; - static Printer_entry *printers_list; typedef struct _counter_printer_0 { @@ -2079,7 +2073,7 @@ WERROR _spoolss_DeletePrinter(pipes_struct *p, static int get_version_id(const char *arch) { int i; - struct table_node archi_table[]= { + struct print_architecture_table_node archi_table[]= { {"Windows 4.0", "WIN40", 0 }, {"Windows NT x86", "W32X86", 2 }, -- cgit