Skip to content

Commit

Permalink
dialogs.c: Make non-exported functions static
Browse files Browse the repository at this point in the history
Make functions not used outside of dialogs.c static.
  • Loading branch information
larsclausen committed Jan 3, 2017
1 parent 3541f44 commit 05fe7b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ static int is_eeprom_fru(char *eeprom_file, GtkTextBuffer *buf, GtkTextIter *ite
}
#endif /* FRU_FILES */

bool widget_set_cursor(GtkWidget *widget, GdkCursorType type)
static bool widget_set_cursor(GtkWidget *widget, GdkCursorType type)
{
GdkCursor *watchCursor;
GdkWindow *gdkWindow;
Expand All @@ -293,7 +293,7 @@ bool widget_set_cursor(GtkWidget *widget, GdkCursorType type)
return true;
}

bool widget_use_parent_cursor(GtkWidget *widget)
static bool widget_use_parent_cursor(GtkWidget *widget)
{
GdkWindow *gdkWindow;

Expand Down Expand Up @@ -343,7 +343,7 @@ static struct iio_context * get_context(Dialogs *data)
}
}

static void refresh_usb()
static void refresh_usb(void)
{
struct iio_scan_context *ctxs;
struct iio_context_info **info;
Expand Down Expand Up @@ -833,7 +833,7 @@ gint create_blocking_popup(GtkMessageType type, GtkButtonsType button,
return run;
}

glong date_compare_against_build_date(const char *iso8601_date)
static glong date_compare_against_build_date(const char *iso8601_date)
{
GTimeVal time;
glong build_time = atol(GIT_COMMIT_TIMESTAMP);
Expand Down

0 comments on commit 05fe7b4

Please sign in to comment.