summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-12 14:15:01 +0200
committerKarolin Seeger <kseeger@samba.org>2009-05-26 09:39:24 +0200
commit3d51790a9db2a0c09095f0bc5ac55a905dac90c7 (patch)
tree5f9dbf91347e443ac6f0b1a893e78437ab354ad2 /source3/rpcclient
parent85ffd51df5062cb1d204ea2efc952f1debf1b6b2 (diff)
downloadsamba-3d51790a9db2a0c09095f0bc5ac55a905dac90c7.tar.gz
s3-printing: no need to define struct table_node 4 times.
Guenther (cherry picked from commit 652251701df7dec1401eab9b1dbc7e3ac5c7e7ad) (cherry picked from commit e6b6027218b96bf3357837d051ca5d2df0d88561)
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 f3fbabf4849..99bc129576d 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 },