mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
parent
9b6ad0c496
commit
94bf599886
@ -104,7 +104,7 @@ struct ndr_print {
|
||||
uint32_t flags; /* LIBNDR_FLAG_* */
|
||||
uint32_t depth;
|
||||
struct ndr_token_list *switch_list;
|
||||
void (*print)(struct ndr_print *, const char *, ...);
|
||||
void (*print)(struct ndr_print *, const char *, ...) PRINTF_ATTRIBUTE(2,3);
|
||||
void *private_data;
|
||||
};
|
||||
|
||||
|
@ -201,7 +201,7 @@ _PUBLIC_ void ndr_print_debug_helper(struct ndr_print *ndr, const char *format,
|
||||
free(s);
|
||||
}
|
||||
|
||||
static void ndr_print_string_helper(struct ndr_print *ndr, const char *format, ...) _PRINTF_ATTRIBUTE(2,3)
|
||||
_PUBLIC_ void ndr_print_string_helper(struct ndr_print *ndr, const char *format, ...) _PRINTF_ATTRIBUTE(2,3)
|
||||
{
|
||||
va_list ap;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user