chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
path: add .path unit type for monitoring files
[elogind.git]
/
src
/
socket.h
diff --git
a/src/socket.h
b/src/socket.h
index 5aa5f2783c0dd0dd9c3580abb2aa67bff1b7bce3..2067eb425428be24f67a288909534df4bed0db28 100644
(file)
--- a/
src/socket.h
+++ b/
src/socket.h
@@
-62,9
+62,7
@@
typedef enum SocketType {
_SOCKET_FIFO_INVALID = -1
} SocketType;
_SOCKET_FIFO_INVALID = -1
} SocketType;
-typedef struct SocketPort SocketPort;
-
-struct SocketPort {
+typedef struct SocketPort {
SocketType type;
int fd;
SocketType type;
int fd;
@@
-72,8
+70,8
@@
struct SocketPort {
char *path;
Watch fd_watch;
char *path;
Watch fd_watch;
- LIST_FIELDS(SocketPort, port);
-};
+ LIST_FIELDS(
struct
SocketPort, port);
+}
SocketPort
;
struct Socket {
Meta meta;
struct Socket {
Meta meta;