Cleanup unused type specifier.

This commit is contained in:
Dave Davenport 2016-03-24 22:13:19 +01:00
parent 0a9ae342bb
commit c4b65d975c
7 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@
* @{
*/
typedef enum _KeyBindingAction
typedef enum
{
/** Paste from primary clipboard */
PASTE_PRIMARY = 0,

View File

@ -34,7 +34,7 @@ typedef int ( *_mode_is_not_ascii )( const Mode *sw, unsigned int index );
* It consists of a name, callback and if enabled
* a textbox for the sidebar-mode.
*/
struct _Mode
struct rofi_mode
{
/** Name (max 31 char long) */
char name[32];

View File

@ -7,7 +7,7 @@
* The 'object' that makes a mode in rofi.
* @{
*/
typedef struct _Mode Mode;
typedef struct rofi_mode Mode;
/**
* Enum used to sum the possible states of ROFI.

View File

@ -11,7 +11,7 @@
*
* @ingroup CONFIGURATION
*/
typedef enum _WindowLocation
typedef enum
{
/** Center */
WL_CENTER = 0,
@ -37,7 +37,7 @@ typedef enum _WindowLocation
* Settings structure holding all (static) configurable options.
* @ingroup CONFIGURATION
*/
typedef struct _Settings
typedef struct
{
/** List of enabled modi */
char *modi;

View File

@ -8,7 +8,7 @@
*
* @{
*/
typedef struct _Widget
typedef struct
{
/** X position relative to parent */
short x;

View File

@ -4,13 +4,13 @@
#include "x11-helper.h"
#include "xrmoptions.h"
typedef struct _KeyBinding
typedef struct
{
unsigned int modmask;
xkb_keysym_t keysym;
} KeyBinding;
typedef struct _ActionBindingEntry
typedef struct
{
const char *name;
char *keystr;
@ -18,7 +18,7 @@ typedef struct _ActionBindingEntry
KeyBinding *kb;
} ActionBindingEntry;
typedef struct _DefaultBinding
typedef struct
{
KeyBindingAction id;
char *name;

View File

@ -41,7 +41,7 @@
* Font + font color cache.
* Avoid re-loading font on every change on every textbox.
*/
typedef struct _RowColor
typedef struct
{
Color fg;
Color bg;