summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-09-02 14:19:38 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 15:22:16 +0200
commit2e1dd622ee7020a608c3397768ea245dcb6409d1 (patch)
treef72729f8099bb3166f6258651ac29db01b4c7e47
parent98b7fe2ad4055a7978edc28caaadd5a0a9bd97a9 (diff)
terminal: remove redundant "struct" prefixes
We define typedefs for all internal types so drop the redundant "struct" prefix.
-rw-r--r--src/libsystemd-terminal/idev-evdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-terminal/idev-evdev.c b/src/libsystemd-terminal/idev-evdev.c
index 9e2dc811ef..be9b0301a4 100644
--- a/src/libsystemd-terminal/idev-evdev.c
+++ b/src/libsystemd-terminal/idev-evdev.c
@@ -41,7 +41,7 @@ typedef struct unmanaged_evdev unmanaged_evdev;
typedef struct managed_evdev managed_evdev;
struct idev_evdev {
- struct idev_element element;
+ idev_element element;
struct libevdev *evdev;
int fd;
sd_event_source *fd_src;
@@ -52,12 +52,12 @@ struct idev_evdev {
};
struct unmanaged_evdev {
- struct idev_evdev evdev;
+ idev_evdev evdev;
char *devnode;
};
struct managed_evdev {
- struct idev_evdev evdev;
+ idev_evdev evdev;
dev_t devnum;
sd_bus_slot *slot_pause_device;