summaryrefslogtreecommitdiff
path: root/examples/libsmbclient
diff options
context:
space:
mode:
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 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;