diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-03-24 22:15:10 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-03-24 22:15:10 +0100 |
commit | 212768257375ab285d41d3b17a11e9997f403d7e (patch) | |
tree | d78896757b7968dc912f192eb67aa047378d6d6b /source/dialogs | |
parent | c4b65d975c08862dfbdce2552e681c62ea79da2f (diff) |
Cleanup unused type specifier (dialogs).
Diffstat (limited to 'source/dialogs')
-rw-r--r-- | source/dialogs/combi.c | 2 | ||||
-rw-r--r-- | source/dialogs/dmenu.c | 2 | ||||
-rw-r--r-- | source/dialogs/drun.c | 4 | ||||
-rw-r--r-- | source/dialogs/run.c | 2 | ||||
-rw-r--r-- | source/dialogs/script.c | 2 | ||||
-rw-r--r-- | source/dialogs/ssh.c | 2 | ||||
-rw-r--r-- | source/dialogs/window.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/source/dialogs/combi.c b/source/dialogs/combi.c index 3c911736..6468e865 100644 --- a/source/dialogs/combi.c +++ b/source/dialogs/combi.c @@ -35,7 +35,7 @@ /** * Combi Mode */ -typedef struct _CombiModePrivateData +typedef struct { // List of (combined) entries. unsigned int cmd_list_length; diff --git a/source/dialogs/dmenu.c b/source/dialogs/dmenu.c index b36a581d..814a69b8 100644 --- a/source/dialogs/dmenu.c +++ b/source/dialogs/dmenu.c @@ -49,7 +49,7 @@ struct range_pair unsigned int start; unsigned int stop; }; -typedef struct _DmenuModePrivateData +typedef struct { char *prompt; unsigned int selected_line; diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index e5757bd9..5f063701 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -87,7 +87,7 @@ static void exec_cmd ( const char *cmd, int run_in_term ) * Store extra information about the entry. * Currently the executable and if it should run in terminal. */ -typedef struct _DRunModeEntry +typedef struct { /* Path to desktop file */ char *path; @@ -101,7 +101,7 @@ typedef struct _DRunModeEntry unsigned int terminal; } DRunModeEntry; -typedef struct _DRunModePrivateData +typedef struct { DRunModeEntry *entry_list; unsigned int cmd_list_length; diff --git a/source/dialogs/run.c b/source/dialogs/run.c index aa092680..ad5d4953 100644 --- a/source/dialogs/run.c +++ b/source/dialogs/run.c @@ -57,7 +57,7 @@ /** * The internal data structure holding the private data of the Run Mode. */ -typedef struct _RunModePrivateData +typedef struct { /** list of available commands. */ char **cmd_list; diff --git a/source/dialogs/script.c b/source/dialogs/script.c index 928a1dd5..667f7988 100644 --- a/source/dialogs/script.c +++ b/source/dialogs/script.c @@ -91,7 +91,7 @@ static void script_switcher_free ( Mode *sw ) g_free ( sw ); } -typedef struct _ScriptModePrivateData +typedef struct { unsigned int id; char **cmd_list; diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c index 28b66a3d..027d8a52 100644 --- a/source/dialogs/ssh.c +++ b/source/dialogs/ssh.c @@ -349,7 +349,7 @@ static char ** get_ssh ( unsigned int *length ) /** * The internal data structure holding the private data of the SSH Mode. */ -typedef struct _SSHModePrivateData +typedef struct { /** List if available ssh hosts.*/ char **hosts_list; diff --git a/source/dialogs/window.c b/source/dialogs/window.c index b4f4be30..5c2bdc11 100644 --- a/source/dialogs/window.c +++ b/source/dialogs/window.c @@ -300,7 +300,7 @@ static client* window_client ( xcb_window_t win ) return c; } -typedef struct _ModeModePrivateData +typedef struct { unsigned int id; char **cmd_list; |