From 652251701df7dec1401eab9b1dbc7e3ac5c7e7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Tue, 12 May 2009 14:15:01 +0200 Subject: s3-printing: no need to define struct table_node 4 times. Guenther --- source3/rpcclient/cmd_spoolss.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 5ea812c1f5e..cbff69ff17f 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -32,12 +32,6 @@ W_ERROR_HAVE_NO_MEMORY(_printername); \ } -struct table_node { - const char *long_archi; - const char *short_archi; - int version; -}; - /* The version int is used by getdrivers. Note that all architecture strings that support mutliple versions must be grouped together since enumdrivers @@ -45,7 +39,7 @@ struct table_node { enumdriver calls for the same arch */ -static const struct table_node archi_table[]= { +static const struct print_architecture_table_node archi_table[]= { {"Windows 4.0", "WIN40", 0 }, {"Windows NT x86", "W32X86", 2 }, -- cgit v1.2.1