Remove uses of deprecated macros
[src/app-framework-binder.git] / src / jobs-fake.c
index 3c1c273..d3cd19e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -71,7 +71,7 @@ static int add_job(const void *group, int timeout, void (*callback)(int signum,
        else
                first = j;
        last = j;
-       pthread_mutex_unlock(&mutex);   
+       pthread_mutex_unlock(&mutex);
        return 0;
 }
 
@@ -83,7 +83,7 @@ static void *thrrun(void *arg)
        j = first;
        if (j)
                first = j->next;
-       pthread_mutex_unlock(&mutex);   
+       pthread_mutex_unlock(&mutex);
        if (j) {
                j->callback(0, j->closure);
                free(j);