From a19185249a69597c870cd1e366128400c5ebeeb9 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 20 Feb 2012 09:18:42 +0100 Subject: examples/testsmbc.c - remove unused function "print_list_fn" It does not get referenced from anywhere. Signed-off-by: Andrew Tridgell --- examples/libsmbclient/testsmbc.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'examples/libsmbclient') diff --git a/examples/libsmbclient/testsmbc.c b/examples/libsmbclient/testsmbc.c index 9f6acacb39..19d4ba7371 100644 --- a/examples/libsmbclient/testsmbc.c +++ b/examples/libsmbclient/testsmbc.c @@ -29,22 +29,6 @@ #include "libsmbclient.h" #include "get_auth_data_fn.h" -int global_id = 0; - -void print_list_fn(struct print_job_info *pji) -{ - - fprintf(stdout, "Print job: ID: %u, Prio: %u, Size: %lu, User: %s, Name: %s\n", - pji->id, - pji->priority, - (unsigned long) pji->size, - pji->user, - pji->name); - - global_id = pji->id; - -} - int main(int argc, char *argv[]) { int err, fd, dh1, dsize, dirc; -- cgit