chiark / gitweb /
terminal: remove redundant "struct" prefixes
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 2 Sep 2014 12:19:38 +0000 (14:19 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 11 Sep 2014 13:22:16 +0000 (15:22 +0200)
We define typedefs for all internal types so drop the redundant "struct"
prefix.

src/libsystemd-terminal/idev-evdev.c

index 9e2dc81..be9b030 100644 (file)
@@ -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;