gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11710 - libmicrohttpd/src/examples


From: gnunet
Subject: [GNUnet-SVN] r11710 - libmicrohttpd/src/examples
Date: Sun, 13 Jun 2010 10:51:33 +0200

Author: grothoff
Date: 2010-06-13 10:51:33 +0200 (Sun, 13 Jun 2010)
New Revision: 11710

Modified:
   libmicrohttpd/src/examples/fileserver_example.c
   libmicrohttpd/src/examples/fileserver_example_dirs.c
   libmicrohttpd/src/examples/https_fileserver_example.c
   libmicrohttpd/src/examples/minimal_example.c
   libmicrohttpd/src/examples/minimal_example_comet.c
   libmicrohttpd/src/examples/querystring_example.c
   libmicrohttpd/src/examples/refuse_post_example.c
Log:
voidcasts

Modified: libmicrohttpd/src/examples/fileserver_example.c
===================================================================
--- libmicrohttpd/src/examples/fileserver_example.c     2010-06-13 08:47:17 UTC 
(rev 11709)
+++ libmicrohttpd/src/examples/fileserver_example.c     2010-06-13 08:51:33 UTC 
(rev 11710)
@@ -34,7 +34,7 @@
 {
   FILE *file = cls;
 
-  fseek (file, pos, SEEK_SET);
+  (void)  fseek (file, pos, SEEK_SET);
   return fread (buf, 1, max, file);
 }
 
@@ -113,7 +113,7 @@
                         NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END);
   if (d == NULL)
     return 1;
-  getc (stdin);
+  (void) getc (stdin);
   MHD_stop_daemon (d);
   return 0;
 }

Modified: libmicrohttpd/src/examples/fileserver_example_dirs.c
===================================================================
--- libmicrohttpd/src/examples/fileserver_example_dirs.c        2010-06-13 
08:47:17 UTC (rev 11709)
+++ libmicrohttpd/src/examples/fileserver_example_dirs.c        2010-06-13 
08:51:33 UTC (rev 11710)
@@ -166,7 +166,7 @@
                         NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END);
   if (d == NULL)
     return 1;
-  getc (stdin);
+  (void) getc (stdin);
   MHD_stop_daemon (d);
   return 0;
 }

Modified: libmicrohttpd/src/examples/https_fileserver_example.c
===================================================================
--- libmicrohttpd/src/examples/https_fileserver_example.c       2010-06-13 
08:47:17 UTC (rev 11709)
+++ libmicrohttpd/src/examples/https_fileserver_example.c       2010-06-13 
08:51:33 UTC (rev 11710)
@@ -186,7 +186,7 @@
       printf ("MHD daemon listening on port %d\n", atoi (argv[1]));
     }
 
-  getc (stdin);
+  (void) getc (stdin);
 
   MHD_stop_daemon (TLS_daemon);
 

Modified: libmicrohttpd/src/examples/minimal_example.c
===================================================================
--- libmicrohttpd/src/examples/minimal_example.c        2010-06-13 08:47:17 UTC 
(rev 11709)
+++ libmicrohttpd/src/examples/minimal_example.c        2010-06-13 08:51:33 UTC 
(rev 11710)
@@ -71,7 +71,7 @@
                         NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END);
   if (d == NULL)
     return 1;
-  getc (stdin);
+  (void) getc (stdin);
   MHD_stop_daemon (d);
   return 0;
 }

Modified: libmicrohttpd/src/examples/minimal_example_comet.c
===================================================================
--- libmicrohttpd/src/examples/minimal_example_comet.c  2010-06-13 08:47:17 UTC 
(rev 11709)
+++ libmicrohttpd/src/examples/minimal_example_comet.c  2010-06-13 08:51:33 UTC 
(rev 11710)
@@ -79,7 +79,7 @@
                         NULL, NULL, &ahc_echo, NULL, MHD_OPTION_END);
   if (d == NULL)
     return 1;
-  getc (stdin);
+  (void) getc (stdin);
   MHD_stop_daemon (d);
   return 0;
 }

Modified: libmicrohttpd/src/examples/querystring_example.c
===================================================================
--- libmicrohttpd/src/examples/querystring_example.c    2010-06-13 08:47:17 UTC 
(rev 11709)
+++ libmicrohttpd/src/examples/querystring_example.c    2010-06-13 08:51:33 UTC 
(rev 11710)
@@ -83,7 +83,7 @@
                         NULL, NULL, &ahc_echo, PAGE, MHD_OPTION_END);
   if (d == NULL)
     return 1;
-  getc (stdin);
+  (void) getc (stdin);
   MHD_stop_daemon (d);
   return 0;
 }

Modified: libmicrohttpd/src/examples/refuse_post_example.c
===================================================================
--- libmicrohttpd/src/examples/refuse_post_example.c    2010-06-13 08:47:17 UTC 
(rev 11709)
+++ libmicrohttpd/src/examples/refuse_post_example.c    2010-06-13 08:51:33 UTC 
(rev 11710)
@@ -91,7 +91,7 @@
                         MHD_OPTION_END);
   if (d == NULL)
     return 1;
-  getc (stdin);
+  (void) getc (stdin);
   MHD_stop_daemon (d);
   return 0;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]