summaryrefslogtreecommitdiff
path: root/examples
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
parent25227129943420558476799a71a0e27647cf8d86 (diff)
downloadsamba-a19185249a69597c870cd1e366128400c5ebeeb9.tar.gz
samba-a19185249a69597c870cd1e366128400c5ebeeb9.tar.bz2
samba-a19185249a69597c870cd1e366128400c5ebeeb9.zip
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')
-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 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;