summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-06-25 20:46:24 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-06-26 17:49:50 -0700
commit313754e4ed9cfd97afdcc2a95099fe704e4189ee (patch)
treef5b6b9cb5352ad67872f6287d0234a942f6f660d /includes
parentb0665180d51f3ec6c9cfc1b98c0f6f8452304dbd (diff)
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 <pburt0@gmail.com>
Diffstat (limited to 'includes')
-rw-r--r--includes/hardinfo.h12
1 files changed, 6 insertions, 6 deletions
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);