summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2005-09-18 10:43:51 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2005-09-18 10:43:51 +0000
commit8ec517a521107ca5d69216640cbdf0e0b31f3361 (patch)
tree8af21cba6b4ca8c5deb452bad8297cb203a98bd7 /examples
parent74a4f533ce23d44dc5fded7a60caef447039d3fd (diff)
downloadlinux-pam-git-8ec517a521107ca5d69216640cbdf0e0b31f3361.tar.gz
Relevant BUGIDs: none
Purpose of commit: cleanup Commit summary: --------------- Fix compiler warnings
Diffstat (limited to 'examples')
-rw-r--r--examples/vpass.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/vpass.c b/examples/vpass.c
index 9a07ee38..1925dd66 100644
--- a/examples/vpass.c
+++ b/examples/vpass.c
@@ -1,3 +1,6 @@
+
+#include "config.h"
+
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -5,8 +8,9 @@
#include <sys/types.h>
#include <security/pam_appl.h>
-static int test_conv(int num_msg, const struct pam_message **msgm,
- struct pam_response **response, void *appdata_ptr)
+static int
+test_conv (int num_msg UNUSED, const struct pam_message **msgm UNUSED,
+ struct pam_response **response UNUSED, void *appdata_ptr UNUSED)
{
return 0;
}