aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-01-13 21:21:19 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2011-01-13 21:21:19 +0100
commit0b46f68c5fda153c9ca164766b83da430d1ef02e (patch)
tree767e8a75c657bbdaddbe1a772d017fd5d95067f4 /examples
parent2917e71aadae004f3a353c3de0672d7534e1a2bf (diff)
downloadlibssh-0b46f68c5fda153c9ca164766b83da430d1ef02e.tar.gz
libssh-0b46f68c5fda153c9ca164766b83da430d1ef02e.tar.xz
libssh-0b46f68c5fda153c9ca164766b83da430d1ef02e.zip
Fixed compilation without argp.h available
Diffstat (limited to 'examples')
-rw-r--r--examples/samplesshd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/samplesshd.c b/examples/samplesshd.c
index 52ab7b9e..f192ef8e 100644
--- a/examples/samplesshd.c
+++ b/examples/samplesshd.c
@@ -191,6 +191,9 @@ int main(int argc, char **argv){
* be reflected in arguments.
*/
argp_parse (&argp, argc, argv, 0, 0, sshbind);
+#else
+ (void) argc;
+ (void) argv;
#endif
#ifdef WITH_PCAP
set_pcap(session);