summaryrefslogtreecommitdiffhomepage
path: root/patch/ipc
diff options
context:
space:
mode:
authorStein Gunnar Bakkeby <[email protected]>2021-06-14 15:11:12 +0200
committerGitHub <[email protected]>2021-06-14 15:11:12 +0200
commit9b3cdeb9296c3758078cffdc3b640b691710be0a (patch)
tree94a93bee04fbbe9e15facbef6bc4bf297410b785 /patch/ipc
parentc968fd9aae7c18e61428bcab0f09798c2f9bdfb5 (diff)
parentb0070eac0264dbca05e429fc1023b81a7b07e8b1 (diff)
downloaddwm-flexipatch-9b3cdeb9296c3758078cffdc3b640b691710be0a.tar.gz
dwm-flexipatch-9b3cdeb9296c3758078cffdc3b640b691710be0a.zip
Merge pull request #158 from pepper-jelly/master
portability(gcc and clang agnostic)
Diffstat (limited to 'patch/ipc')
-rw-r--r--patch/ipc/IPCClient.c1
-rw-r--r--patch/ipc/IPCClient.h1
-rw-r--r--patch/ipc/dwm-msg.c1
-rw-r--r--patch/ipc/ipc.c1
-rw-r--r--patch/ipc/ipc.h1
-rw-r--r--patch/ipc/util.c1
-rw-r--r--patch/ipc/util.h3
-rw-r--r--patch/ipc/yajl_dumps.c1
-rw-r--r--patch/ipc/yajl_dumps.h1
9 files changed, 10 insertions, 1 deletions
diff --git a/patch/ipc/IPCClient.c b/patch/ipc/IPCClient.c
index 0d3eefb..a157513 100644
--- a/patch/ipc/IPCClient.c
+++ b/patch/ipc/IPCClient.c
@@ -64,3 +64,4 @@ ipc_list_get_client(IPCClientList list, int fd)
return NULL;
}
+
diff --git a/patch/ipc/IPCClient.h b/patch/ipc/IPCClient.h
index 307dfba..ee93030 100644
--- a/patch/ipc/IPCClient.h
+++ b/patch/ipc/IPCClient.h
@@ -59,3 +59,4 @@ void ipc_list_remove_client(IPCClientList *list, IPCClient *c);
IPCClient *ipc_list_get_client(IPCClientList list, int fd);
#endif // IPC_CLIENT_H_
+
diff --git a/patch/ipc/dwm-msg.c b/patch/ipc/dwm-msg.c
index 089dc9f..ca1e1a4 100644
--- a/patch/ipc/dwm-msg.c
+++ b/patch/ipc/dwm-msg.c
@@ -546,3 +546,4 @@ main(int argc, char *argv[])
return 0;
}
+
diff --git a/patch/ipc/ipc.c b/patch/ipc/ipc.c
index 0cc76a7..eae9667 100644
--- a/patch/ipc/ipc.c
+++ b/patch/ipc/ipc.c
@@ -1199,3 +1199,4 @@ ipc_handle_socket_epoll_event(struct epoll_event *ev)
return new_fd;
}
+
diff --git a/patch/ipc/ipc.h b/patch/ipc/ipc.h
index 29ec036..4a72fb8 100644
--- a/patch/ipc/ipc.h
+++ b/patch/ipc/ipc.h
@@ -317,3 +317,4 @@ int ipc_handle_client_epoll_event(struct epoll_event *ev, Monitor *mons,
int ipc_handle_socket_epoll_event(struct epoll_event *ev);
#endif /* IPC_H_ */
+
diff --git a/patch/ipc/util.c b/patch/ipc/util.c
index fedfc93..7ea425e 100644
--- a/patch/ipc/util.c
+++ b/patch/ipc/util.c
@@ -133,3 +133,4 @@ nullterminate(char **str, size_t *len)
return 0;
}
+
diff --git a/patch/ipc/util.h b/patch/ipc/util.h
index 8f8d35f..8d2a626 100644
--- a/patch/ipc/util.h
+++ b/patch/ipc/util.h
@@ -1,4 +1,5 @@
int normalizepath(const char *path, char **normal);
int mkdirp(const char *path);
int parentdir(const char *path, char **parent);
-int nullterminate(char **str, size_t *len); \ No newline at end of file
+int nullterminate(char **str, size_t *len);
+
diff --git a/patch/ipc/yajl_dumps.c b/patch/ipc/yajl_dumps.c
index 0888252..b24a429 100644
--- a/patch/ipc/yajl_dumps.c
+++ b/patch/ipc/yajl_dumps.c
@@ -353,3 +353,4 @@ dump_error_message(yajl_gen gen, const char *reason)
return 0;
}
+
diff --git a/patch/ipc/yajl_dumps.h b/patch/ipc/yajl_dumps.h
index 6546003..bb57a17 100644
--- a/patch/ipc/yajl_dumps.h
+++ b/patch/ipc/yajl_dumps.h
@@ -63,3 +63,4 @@ int dump_focused_state_change_event(yajl_gen gen, const int mon_num,
int dump_error_message(yajl_gen gen, const char *reason);
#endif // YAJL_DUMPS_H_
+