summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-14 01:35:22 +0100
committerGünther Deschner <gd@samba.org>2009-03-17 10:37:53 +0100
commit04fd767c0b244082f616b445558c80619ef0363f (patch)
tree7ca0af82e0c008b4d4b88d39a833bc4fec3fdf08 /source3
parent937a058cf25672bc22bf07183b0fb485138f6593 (diff)
downloadsamba-04fd767c0b244082f616b445558c80619ef0363f.tar.gz
samba-04fd767c0b244082f616b445558c80619ef0363f.tar.bz2
samba-04fd767c0b244082f616b445558c80619ef0363f.zip
s3-spoolss: remove obsolete get_a_builtin_ntform.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/printing/nt_printing.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6016ae751b..c4f57afedd 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4793,7 +4793,6 @@ bool nt_printing_init(struct messaging_context *msg_ctx);
uint32 update_c_setprinter(bool initialize);
uint32 get_c_setprinter(void);
int get_builtin_ntforms(nt_forms_struct **list);
-bool get_a_builtin_ntform(UNISTR2 *uni_formname,nt_forms_struct *form);
bool get_a_builtin_ntform_by_string(const char *form_name, nt_forms_struct *form);
int get_ntforms(nt_forms_struct **list);
int write_ntforms(nt_forms_struct **list, int number);
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index d8658e9280..12e645f18a 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -789,13 +789,6 @@ bool get_a_builtin_ntform_by_string(const char *form_name, nt_forms_struct *form
return (i !=count);
}
-bool get_a_builtin_ntform(UNISTR2 *uni_formname,nt_forms_struct *form)
-{
- fstring form_name;
- unistr2_to_ascii(form_name, uni_formname, sizeof(form_name));
- return get_a_builtin_ntform_by_string(form_name, form);
-}
-
/****************************************************************************
get a form struct list.
****************************************************************************/