diff options
author | Günther Deschner <gd@samba.org> | 2009-05-12 14:15:01 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-05-13 15:27:06 +0200 |
commit | 652251701df7dec1401eab9b1dbc7e3ac5c7e7ad (patch) | |
tree | 1435c61e9eff5d1f6a52d1b9a57a1098ef221e4c /source3/rpc_server/srv_spoolss_nt.c | |
parent | 077327a923841338cf24162a67465c70fa3c4613 (diff) | |
download | samba-652251701df7dec1401eab9b1dbc7e3ac5c7e7ad.tar.gz samba-652251701df7dec1401eab9b1dbc7e3ac5c7e7ad.tar.xz samba-652251701df7dec1401eab9b1dbc7e3ac5c7e7ad.zip |
s3-printing: no need to define struct table_node 4 times.
Guenther
Diffstat (limited to 'source3/rpc_server/srv_spoolss_nt.c')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 }, |