1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-04 13:51:24 +03:00

terminal: remove redundant "struct" prefixes

We define typedefs for all internal types so drop the redundant "struct"
prefix.
This commit is contained in:
David Herrmann 2014-09-02 14:19:38 +02:00
parent 98b7fe2ad4
commit 2e1dd622ee

View File

@ -41,7 +41,7 @@ typedef struct unmanaged_evdev unmanaged_evdev;
typedef struct managed_evdev managed_evdev; typedef struct managed_evdev managed_evdev;
struct idev_evdev { struct idev_evdev {
struct idev_element element; idev_element element;
struct libevdev *evdev; struct libevdev *evdev;
int fd; int fd;
sd_event_source *fd_src; sd_event_source *fd_src;
@ -52,12 +52,12 @@ struct idev_evdev {
}; };
struct unmanaged_evdev { struct unmanaged_evdev {
struct idev_evdev evdev; idev_evdev evdev;
char *devnode; char *devnode;
}; };
struct managed_evdev { struct managed_evdev {
struct idev_evdev evdev; idev_evdev evdev;
dev_t devnum; dev_t devnum;
sd_bus_slot *slot_pause_device; sd_bus_slot *slot_pause_device;