diff options
author | Jeremy Allison <jra@samba.org> | 2006-04-29 23:36:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:36 -0500 |
commit | 1f3fe6a50451c6e0b223fa70ddceb7543f060d89 (patch) | |
tree | b4c7230238833e95eda16a6ff96c8afe72feaed8 /source3/rpc_server | |
parent | f3dc7aae4dbc14377de31a88880099cfdbda7673 (diff) | |
download | samba-1f3fe6a50451c6e0b223fa70ddceb7543f060d89.tar.gz samba-1f3fe6a50451c6e0b223fa70ddceb7543f060d89.tar.bz2 samba-1f3fe6a50451c6e0b223fa70ddceb7543f060d89.zip |
r15334: Fix warning. This table and function not used anymore. Jerry please
check.
Jeremy.
(This used to be commit 9f676603aaf84829d52dc8d0e0872a058a4d3d4e)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 70470a45e7..2e224896c4 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -40,23 +40,6 @@ extern userdom_struct current_user_info; #define MAGIC_DISPLAY_FREQUENCY 0xfade2bad #define PHANTOM_DEVMODE_KEY "_p_f_a_n_t_0_m_" - -/* Table to map the driver version */ -/* to OS */ -static const char * drv_ver_to_os[] = { - "WIN9X", /* driver version/cversion 0 */ - "", /* unused ? */ - "WINNT", /* driver version/cversion 2 */ - "WIN2K", /* driver version/cversion 3 */ -}; - -static const char *get_drv_ver_to_os(int ver) -{ - if (ver < 0 || ver > 3) - return ""; - return drv_ver_to_os[ver]; -} - struct table_node { const char *long_archi; const char *short_archi; |