summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
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/utils')
-rw-r--r--source3/utils/net_rpc_printer.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index 3914a42ade..3376f5666d 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -19,15 +19,8 @@
#include "includes.h"
#include "utils/net.h"
-struct table_node {
- const char *long_archi;
- const char *short_archi;
- int version;
-};
-
-
/* support itanium as well */
-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 },