summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-24 05:25:33 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-24 05:25:33 +0200
commit01f78473b104d28db0fa813414092bc6358ae521 (patch)
treedbc1a63d818c7420ee2a50cbd205ae90b0c7185d /src/socket.h
parenttimer: fully implement timer units (diff)
downloadsystemd-01f78473b104d28db0fa813414092bc6358ae521.tar.gz
systemd-01f78473b104d28db0fa813414092bc6358ae521.tar.bz2
systemd-01f78473b104d28db0fa813414092bc6358ae521.zip
path: add .path unit type for monitoring files
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/socket.h b/src/socket.h
index 5aa5f2783..2067eb425 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -62,9 +62,7 @@ typedef enum SocketType {
_SOCKET_FIFO_INVALID = -1
} SocketType;
-typedef struct SocketPort SocketPort;
-
-struct SocketPort {
+typedef struct SocketPort {
SocketType type;
int fd;
@@ -72,8 +70,8 @@ struct SocketPort {
char *path;
Watch fd_watch;
- LIST_FIELDS(SocketPort, port);
-};
+ LIST_FIELDS(struct SocketPort, port);
+} SocketPort;
struct Socket {
Meta meta;