summaryrefslogtreecommitdiff
path: root/examples/libsmbclient
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2012-02-20 09:18:42 +0100
committerAndrew Tridgell <tridge@samba.org>2012-02-22 23:57:24 +0100
commita19185249a69597c870cd1e366128400c5ebeeb9 (patch)
tree4647e158cd6bcd0a12412c7ea268fc9a7a525b96 /examples/libsmbclient
parent25227129943420558476799a71a0e27647cf8d86 (diff)
downloadsamba-a19185249a69597c870cd1e366128400c5ebeeb9.tar.gz
examples/testsmbc.c - remove unused function "print_list_fn"
It does not get referenced from anywhere. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'examples/libsmbclient')
-rw-r--r--examples/libsmbclient/testsmbc.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/libsmbclient/testsmbc.c b/examples/libsmbclient/testsmbc.c
index 9f6acacb39c..19d4ba7371e 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;