summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-12 14:15:01 +0200
committerGünther Deschner <gd@samba.org>2009-05-13 15:27:06 +0200
commit652251701df7dec1401eab9b1dbc7e3ac5c7e7ad (patch)
tree1435c61e9eff5d1f6a52d1b9a57a1098ef221e4c /source3/rpcclient
parent077327a923841338cf24162a67465c70fa3c4613 (diff)
downloadsamba-652251701df7dec1401eab9b1dbc7e3ac5c7e7ad.tar.gz
samba-652251701df7dec1401eab9b1dbc7e3ac5c7e7ad.tar.bz2
samba-652251701df7dec1401eab9b1dbc7e3ac5c7e7ad.zip
s3-printing: no need to define struct table_node 4 times.
Guenther
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_spoolss.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 5ea812c1f5..cbff69ff17 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 },