diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/printing/nt_printing.c | 7 |
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. ****************************************************************************/ |