[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27531 - libmicrohttpd/doc/examples
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27531 - libmicrohttpd/doc/examples |
Date: |
Fri, 21 Jun 2013 19:55:35 +0200 |
Author: grothoff
Date: 2013-06-21 19:55:34 +0200 (Fri, 21 Jun 2013)
New Revision: 27531
Modified:
libmicrohttpd/doc/examples/basicauthentication.c
libmicrohttpd/doc/examples/hellobrowser.c
libmicrohttpd/doc/examples/largepost.c
libmicrohttpd/doc/examples/logging.c
libmicrohttpd/doc/examples/responseheaders.c
libmicrohttpd/doc/examples/simplepost.c
Log:
cast intentionally ignored return values to void, even in examples
Modified: libmicrohttpd/doc/examples/basicauthentication.c
===================================================================
--- libmicrohttpd/doc/examples/basicauthentication.c 2013-06-21 17:52:03 UTC
(rev 27530)
+++ libmicrohttpd/doc/examples/basicauthentication.c 2013-06-21 17:55:34 UTC
(rev 27531)
@@ -76,7 +76,7 @@
if (NULL == daemon)
return 1;
- getchar ();
+ (void) getchar ();
MHD_stop_daemon (daemon);
return 0;
Modified: libmicrohttpd/doc/examples/hellobrowser.c
===================================================================
--- libmicrohttpd/doc/examples/hellobrowser.c 2013-06-21 17:52:03 UTC (rev
27530)
+++ libmicrohttpd/doc/examples/hellobrowser.c 2013-06-21 17:55:34 UTC (rev
27531)
@@ -33,6 +33,7 @@
return ret;
}
+
int
main ()
{
@@ -43,7 +44,7 @@
if (NULL == daemon)
return 1;
- getchar ();
+ (void) getchar ();
MHD_stop_daemon (daemon);
return 0;
Modified: libmicrohttpd/doc/examples/largepost.c
===================================================================
--- libmicrohttpd/doc/examples/largepost.c 2013-06-21 17:52:03 UTC (rev
27530)
+++ libmicrohttpd/doc/examples/largepost.c 2013-06-21 17:55:34 UTC (rev
27531)
@@ -236,7 +236,7 @@
NULL, MHD_OPTION_END);
if (NULL == daemon)
return 1;
- getchar ();
+ (void) getchar ();
MHD_stop_daemon (daemon);
return 0;
}
Modified: libmicrohttpd/doc/examples/logging.c
===================================================================
--- libmicrohttpd/doc/examples/logging.c 2013-06-21 17:52:03 UTC (rev
27530)
+++ libmicrohttpd/doc/examples/logging.c 2013-06-21 17:55:34 UTC (rev
27531)
@@ -22,6 +22,7 @@
return MHD_YES;
}
+
static int
answer_to_connection (void *cls, struct MHD_Connection *connection,
const char *url, const char *method,
@@ -36,6 +37,7 @@
return MHD_NO;
}
+
int
main ()
{
@@ -46,7 +48,7 @@
if (NULL == daemon)
return 1;
- getchar ();
+ (void) getchar ();
MHD_stop_daemon (daemon);
return 0;
Modified: libmicrohttpd/doc/examples/responseheaders.c
===================================================================
--- libmicrohttpd/doc/examples/responseheaders.c 2013-06-21 17:52:03 UTC
(rev 27530)
+++ libmicrohttpd/doc/examples/responseheaders.c 2013-06-21 17:55:34 UTC
(rev 27531)
@@ -77,7 +77,7 @@
if (NULL == daemon)
return 1;
- getchar ();
+ (void) getchar ();
MHD_stop_daemon (daemon);
Modified: libmicrohttpd/doc/examples/simplepost.c
===================================================================
--- libmicrohttpd/doc/examples/simplepost.c 2013-06-21 17:52:03 UTC (rev
27530)
+++ libmicrohttpd/doc/examples/simplepost.c 2013-06-21 17:55:34 UTC (rev
27531)
@@ -185,7 +185,7 @@
if (NULL == daemon)
return 1;
- getchar ();
+ (void) getchar ();
MHD_stop_daemon (daemon);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27531 - libmicrohttpd/doc/examples,
gnunet <=