make ostree_cmd__private__ ret value const
This commit is contained in:
parent
5fb8bb955e
commit
26bdfae5bc
|
|
@ -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
|
* Do not call this function; it is used to share private API between
|
||||||
* the OSTree commandline and the library.
|
* the OSTree commandline and the library.
|
||||||
*/
|
*/
|
||||||
OstreeCmdPrivateVTable *
|
const OstreeCmdPrivateVTable *
|
||||||
ostree_cmd__private__ (void)
|
ostree_cmd__private__ (void)
|
||||||
{
|
{
|
||||||
static OstreeCmdPrivateVTable table = {
|
static OstreeCmdPrivateVTable table = {
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ typedef struct {
|
||||||
gboolean (* ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error);
|
gboolean (* ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error);
|
||||||
} OstreeCmdPrivateVTable;
|
} OstreeCmdPrivateVTable;
|
||||||
|
|
||||||
OstreeCmdPrivateVTable *
|
const OstreeCmdPrivateVTable *
|
||||||
ostree_cmd__private__ (void);
|
ostree_cmd__private__ (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue