[ostree] _ostree_repo_file_replace_contents: make buf const
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] _ostree_repo_file_replace_contents: make buf const
- Date: Tue, 14 Apr 2015 19:18:13 +0000 (UTC)
commit 69184e70e953c8d2084b73202bd0ba8d419e7480
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Tue Apr 14 09:56:13 2015 +0200
_ostree_repo_file_replace_contents: make buf const
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
src/libostree/ostree-repo-private.h | 2 +-
src/libostree/ostree-repo.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index ceed471..adf5ec2 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -130,7 +130,7 @@ gboolean
_ostree_repo_file_replace_contents (OstreeRepo *self,
int dfd,
const char *path,
- guint8 *buf,
+ const guint8 *buf,
gsize len,
GCancellable *cancellable,
GError **error);
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c
index b27fcce..5215e66 100644
--- a/src/libostree/ostree-repo.c
+++ b/src/libostree/ostree-repo.c
@@ -1509,7 +1509,7 @@ gboolean
_ostree_repo_file_replace_contents (OstreeRepo *self,
int dfd,
const char *path,
- guint8 *buf,
+ const guint8 *buf,
gsize len,
GCancellable *cancellable,
GError **error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]