From f8717aac9da79d7c09fbb79606c8bf7446768ece Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 1 Jan 2016 23:30:21 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 1 - src/satd.c | 2 +- src/satq.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common.h b/src/common.h index 7ee9ae5..92dbaf4 100644 --- a/src/common.h +++ b/src/common.h @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/src/satd.c b/src/satd.c index e0f342c..4e2b981 100644 --- a/src/satd.c +++ b/src/satd.c @@ -100,7 +100,7 @@ main(int argc, char *argv[]) /* Get hook-script pathname. */ t (set_hookpath()); - /* Open/create lock file and state file, and create socket. */ + /* Open/create lock file and state file. */ GET_FD(lock, LOCK_FILENO, create_lock()); GET_FD(state, STATE_FILENO, open_state(O_RDWR | O_CREAT, &path)); diff --git a/src/satq.c b/src/satq.c index d11f0bf..6261a4f 100644 --- a/src/satq.c +++ b/src/satq.c @@ -143,7 +143,7 @@ print(const char *s, ...) /** - * Dump a job to the socket. + * Dump a job to stdout. * * @param job The job. * @return 0 on success, -1 on error. -- cgit v1.2.3-70-g09d2