Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tree: Apply cosmetics
  • Loading branch information
donald committed Feb 21, 2022
1 parent ea504b4 commit 3ce871a
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion mx_flock.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <sys/types.h>
Expand Down
2 changes: 1 addition & 1 deletion mx_log.h
Expand Up @@ -53,7 +53,7 @@ int mx_log_level_get(void);
int mx_log_level_mxlog_to_syslog(int level);
int mx_log_level_syslog_to_mxlog(int level);

int mx_log_do(int level, char *file, unsigned long line, const char *func, const char *fmt, ...) __attribute__ ((format(printf, 5, 6)));;
int mx_log_do(int level, char *file, unsigned long line, const char *func, const char *fmt, ...) __attribute__ ((format(printf, 5, 6)));
int mx_log_printf(const char *fmt, ...);

int mx_log_finish(void);
Expand Down
1 change: 0 additions & 1 deletion mx_util.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <stdlib.h>
Expand Down
1 change: 0 additions & 1 deletion mxq_daemon.c
@@ -1,4 +1,3 @@

#include <stdio.h>

#include <assert.h>
Expand Down
2 changes: 0 additions & 2 deletions mxq_group.c
@@ -1,4 +1,3 @@

#include <stdio.h>

#include <assert.h>
Expand Down Expand Up @@ -377,4 +376,3 @@ int mxq_load_running_groups_for_user(struct mx_mysql *mysql, struct mxq_group **
*mxq_groups = groups;
return res;
}

2 changes: 0 additions & 2 deletions mxqadmin.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <stdio.h>
Expand Down Expand Up @@ -400,4 +399,3 @@ int main(int argc, char *argv[])
mx_log_info("MySQL: Connection to database closed.");
return 1;
}

1 change: 0 additions & 1 deletion mxqd.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#define MXQ_TYPE_SERVER
Expand Down
3 changes: 1 addition & 2 deletions mxqdump.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <stdio.h>
Expand Down Expand Up @@ -813,4 +812,4 @@ int main(int argc, char *argv[])
mx_mysql_finish(&mysql);
mx_log_info("MySQL: Connection to database closed.");
return 0;
};
}
2 changes: 0 additions & 2 deletions mxqkill.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <stdio.h>
Expand Down Expand Up @@ -507,4 +506,3 @@ int main(int argc, char *argv[])
mx_log_info("MySQL: Connection to database closed.");
return 1;
}

1 change: 0 additions & 1 deletion mxqps.c
@@ -1,4 +1,3 @@

#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
Expand Down
1 change: 0 additions & 1 deletion test_mx_mysql.c
@@ -1,4 +1,3 @@

#include <assert.h>
#include <errno.h>

Expand Down
1 change: 0 additions & 1 deletion test_mx_util.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <assert.h>
Expand Down
1 change: 0 additions & 1 deletion test_mxqd_control.c
@@ -1,4 +1,3 @@

#define _GNU_SOURCE

#include <assert.h>
Expand Down

0 comments on commit 3ce871a

Please sign in to comment.