[libsoup] libsoup: Fix some old-style function declarations
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [libsoup] libsoup: Fix some old-style function declarations
- Date: Mon, 27 Apr 2015 15:24:04 +0000 (UTC)
commit 28d4943a02ec064fb8e83ab8cef3ae7051b982a1
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Mon Apr 27 11:08:31 2015 +0100
    libsoup: Fix some old-style function declarations
    
    Eliminate some compiler warnings.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=748514
 libsoup/soup-content-sniffer.c |    2 +-
 tests/test-utils.c             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
index 5659af9..e3dfb78 100644
--- a/libsoup/soup-content-sniffer.c
+++ b/libsoup/soup-content-sniffer.c
@@ -898,7 +898,7 @@ soup_content_sniffer_session_feature_init (SoupSessionFeatureInterface *feature_
  * Since: 2.28
  **/
 SoupContentSniffer *
-soup_content_sniffer_new ()
+soup_content_sniffer_new (void)
 {
        return g_object_new (SOUP_TYPE_CONTENT_SNIFFER, NULL);
 }
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 3a717ad..9c74206 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -581,7 +581,7 @@ create_cancel_data (SoupRequest          *req,
        return cancel_data;
 }
 
-static void inline
+inline static void
 cancel_message_or_cancellable (CancelData *cancel_data)
 {
        if (cancel_data->flags & SOUP_TEST_REQUEST_CANCEL_MESSAGE) {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]