~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/livepatch-utils.h

  • Committer: Iain Lane
  • Date: 2019-08-01 12:34:01 UTC
  • Revision ID: iain.lane@canonical.com-20190801123401-dd5pfj314b3t55hk
Make livepatch_get_num_fixes (private API) return 'ssize_t' instead of
'gssize', which will allow us to use the '%zd' format string to print its
value. That in turn allows the string to be extracted into the .pot file
for translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
} LivepatchError;
32
32
 
33
33
 
34
 
gboolean livepatch_has_settings_ui ();
35
 
gboolean livepatch_is_supported    ();
36
 
gboolean livepatch_is_running      ();
37
 
gchar*   livepatch_get_state       (GError **error);
38
 
gchar*   livepatch_get_check_state (GError **error);
39
 
gssize   livepatch_get_num_fixes   (GError **error);
 
34
gboolean  livepatch_has_settings_ui ();
 
35
gboolean  livepatch_is_supported    ();
 
36
gboolean  livepatch_is_running      ();
 
37
gchar*    livepatch_get_state       (GError **error);
 
38
gchar*    livepatch_get_check_state (GError **error);
 
39
ssize_t   livepatch_get_num_fixes   (GError **error);