commit 2ff4a9d580afb3cb03a189e18755b6a4938cc697 parent f710701c8241822b0869ba5feb95f33e61527efa Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 13 Jun 2010 08:51:33 +0000 voidcasts Diffstat:
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c @@ -34,7 +34,7 @@ file_reader (void *cls, uint64_t pos, char *buf, int max) { FILE *file = cls; - fseek (file, pos, SEEK_SET); + (void) fseek (file, pos, SEEK_SET); return fread (buf, 1, max, file); } @@ -113,7 +113,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/fileserver_example_dirs.c b/src/examples/fileserver_example_dirs.c @@ -166,7 +166,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/https_fileserver_example.c b/src/examples/https_fileserver_example.c @@ -186,7 +186,7 @@ main (int argc, char *const *argv) printf ("MHD daemon listening on port %d\n", atoi (argv[1])); } - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (TLS_daemon); diff --git a/src/examples/minimal_example.c b/src/examples/minimal_example.c @@ -71,7 +71,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/minimal_example_comet.c b/src/examples/minimal_example_comet.c @@ -79,7 +79,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, NULL, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/querystring_example.c b/src/examples/querystring_example.c @@ -83,7 +83,7 @@ main (int argc, char *const *argv) NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; } diff --git a/src/examples/refuse_post_example.c b/src/examples/refuse_post_example.c @@ -91,7 +91,7 @@ main (int argc, char *const *argv) MHD_OPTION_END); if (d == NULL) return 1; - getc (stdin); + (void) getc (stdin); MHD_stop_daemon (d); return 0; }