[yelp/wip/amigadave/webkit2-port: 41/53] yelp-uri-builder: build_network_uri should receive a const char *
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp/wip/amigadave/webkit2-port: 41/53] yelp-uri-builder: build_network_uri should receive a const char *
- Date: Mon, 22 Jun 2015 14:00:44 +0000 (UTC)
commit 89833ecee9ca22f1d5cb390a5efeed088ff406ad
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Apr 10 09:41:54 2015 +0200
yelp-uri-builder: build_network_uri should receive a const char *
libyelp/yelp-uri-builder.c | 2 +-
libyelp/yelp-uri-builder.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libyelp/yelp-uri-builder.c b/libyelp/yelp-uri-builder.c
index 49ee024..01a29fb 100644
--- a/libyelp/yelp-uri-builder.c
+++ b/libyelp/yelp-uri-builder.c
@@ -24,7 +24,7 @@
#define BOGUS_PREFIX_LEN 6
gchar *
-build_network_uri (gchar *uri)
+build_network_uri (const gchar *uri)
{
SoupURI *soup_uri;
gchar *bogus_scheme, *path, *retval;
diff --git a/libyelp/yelp-uri-builder.h b/libyelp/yelp-uri-builder.h
index b890b10..d6effa4 100644
--- a/libyelp/yelp-uri-builder.h
+++ b/libyelp/yelp-uri-builder.h
@@ -23,6 +23,6 @@
#include "yelp-uri.h"
-gchar * build_network_uri (gchar *uri);
+gchar * build_network_uri (const gchar *uri);
gchar * build_yelp_uri (const gchar *uri);
gchar * build_network_scheme (const gchar *scheme);
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]