s3-printing: no need to define struct table_node 4 times.
[jra/samba/.git] / source3 / printing / nt_printing.c
index 17e3d40152aed8ca8d8f184f1262f10d1cd8529e..34b7a577f89ca1e37b5c37ed28d40edc331e6c8d 100644 (file)
@@ -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 },