diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 22:34:34 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 22:34:34 +0100 |
commit | 4cba520a67e615b43dc22994670a904daf8643ae (patch) | |
tree | 6649c99fa94d8b7842a8ca7df7478ccf722d4c67 /src/satd-timer.c | |
parent | remove satd-rm and satd-r and let satrm and satr do everything (not done yet) (diff) | |
download | sat-4cba520a67e615b43dc22994670a904daf8643ae.tar.gz sat-4cba520a67e615b43dc22994670a904daf8643ae.tar.bz2 sat-4cba520a67e615b43dc22994670a904daf8643ae.tar.xz |
massive simpliciation and small bug fixes (not tested yet)
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/satd-timer.c')
-rw-r--r-- | src/satd-timer.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/satd-timer.c b/src/satd-timer.c index 113b50a..86feb6a 100644 --- a/src/satd-timer.c +++ b/src/satd-timer.c @@ -19,9 +19,7 @@ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ -#include "daemon.h" -#include <time.h> -#include <sys/timerfd.h> +#include "common.h" @@ -43,9 +41,8 @@ timecmp(const struct timespec *a, const struct timespec *b) /** * Subroutine to the sat daemon: list jobs. * - * @param argc Should be 3. - * @param argv The name of the process, the pathname of the socket, - * and the pathname to the state file. + * @param argc Should be 2. + * @param argv The name of the process, and the pathname to the state file. * @return 0 The process was successful. * @return 1 The process failed queuing the job. */ |