make ostree_cmd__private__ ret value const

This commit is contained in:
Giuseppe Scrivano 2014-10-21 11:22:51 +02:00 committed by Colin Walters
parent 5fb8bb955e
commit 26bdfae5bc
2 changed files with 2 additions and 2 deletions

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 = {

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