make ostree_cmd__private__ ret value const

This commit is contained in:
Giuseppe Scrivano authored and Colin Walters committed 2014-10-21 16:18:30 -04:00
1 parent 5fb8bb955e
commit 26bdfae5bc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ impl_ostree_generate_grub2_config (OstreeSysroot *sysroot, int bootversion, int
* Do not call this function; it is used to share private API between
* the OSTree commandline and the library.
*/
OstreeCmdPrivateVTable *
const OstreeCmdPrivateVTable *
ostree_cmd__private__ (void)
{
static OstreeCmdPrivateVTable table = {
+1 -1
View File
@@ -28,7 +28,7 @@ typedef struct {
gboolean (* ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error);
} OstreeCmdPrivateVTable;
OstreeCmdPrivateVTable *
const OstreeCmdPrivateVTable *
ostree_cmd__private__ (void);
G_END_DECLS