examples/testsmbc.c - remove unused function "print_list_fn"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 20 Feb 2012 08:18:42 +0000 (09:18 +0100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 22 Feb 2012 22:57:24 +0000 (23:57 +0100)
It does not get referenced from anywhere.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
examples/libsmbclient/testsmbc.c

index 9f6acacb39c91aa928468fc01fc3a24d0c1be5c5..19d4ba7371e9c177b1e50847e514f03f4e055b13 100644 (file)
 #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;