From 313754e4ed9cfd97afdcc2a95099fe704e4189ee Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 25 Jun 2019 20:46:24 -0500 Subject: devices/dmi_memory.c: shell viewtype=1 version, other tweaks * add -std=c99 for dmi_memory.c to use unicode * -std=c99 is picky about inline functions Signed-off-by: Burt P --- includes/hardinfo.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'includes/hardinfo.h') diff --git a/includes/hardinfo.h b/includes/hardinfo.h index e0c6a164..6af37ef0 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -99,11 +99,11 @@ struct _ModuleAbout { }; /* String utility functions */ -inline void remove_quotes(gchar *str); -inline char *strend(gchar *str, gchar chr); -inline void remove_linefeed(gchar *str); -gchar *strreplacechr(gchar *string, gchar *replace, gchar new_char); -gchar *strreplace(gchar *string, gchar *replace, gchar *replacement); +void remove_quotes(gchar *str); +char *strend(gchar *str, gchar chr); +void remove_linefeed(gchar *str); +gchar *strreplacechr(gchar *string, gchar *replace, gchar new_char); +gchar *strreplace(gchar *string, gchar *replace, gchar *replacement); /* Widget utility functions */ void widget_set_cursor(GtkWidget *widget, GdkCursorType cursor_type); @@ -125,7 +125,7 @@ gpointer __idle_free(gpointer ptr, gchar *f, gint l); #endif /* RELEASE == 1 */ gchar *find_program(gchar *program_name); -inline gchar *size_human_readable(gfloat size); +gchar *size_human_readable(gfloat size); void nonblock_sleep(guint msec); void open_url(gchar *url); GSList *modules_get_list(void); -- cgit v1.2.3