summaryrefslogtreecommitdiff
path: root/source3/printing
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/printing
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/printing')
-rw-r--r--source3/printing/nt_printing.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 17e3d40152..34b7a577f8 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -204,13 +204,7 @@ static const nt_forms_struct default_forms[] = {
{"PRC Envelope #10 Rotated",0x1,0x6fd10,0x4f1a0,0x0,0x0,0x6fd10,0x4f1a0}
};
-struct table_node {
- const char *long_archi;
- const char *short_archi;
- int version;
-};
-
-static const struct table_node archi_table[]= {
+static const struct print_architecture_table_node archi_table[]= {
{"Windows 4.0", SPL_ARCH_WIN40, 0 },
{"Windows NT x86", SPL_ARCH_W32X86, 2 },