mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 06:07:56 +00:00
complete: Slightly increase const-correctness
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
f711ffc0e3
commit
f7003e00c0
@ -73,7 +73,8 @@ flatpak_complete_dir (FlatpakCompletion *completion)
|
||||
|
||||
void
|
||||
flatpak_complete_word (FlatpakCompletion *completion,
|
||||
char *format, ...)
|
||||
const char *format,
|
||||
...)
|
||||
{
|
||||
va_list args;
|
||||
const char *rest;
|
||||
|
||||
@ -47,7 +47,7 @@ FlatpakCompletion *flatpak_completion_new (const char *arg_line,
|
||||
const char *arg_point,
|
||||
const char *arg_cur);
|
||||
void flatpak_complete_word (FlatpakCompletion *completion,
|
||||
char *format,
|
||||
const char *format,
|
||||
...) G_GNUC_PRINTF (2, 3);
|
||||
void flatpak_complete_ref (FlatpakCompletion *completion,
|
||||
OstreeRepo *repo);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user