chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't stomp on choose widhet's submenu's color scheme
[disorder]
/
clients
/
test-eclient.c
diff --git
a/clients/test-eclient.c
b/clients/test-eclient.c
index 3c2e92e1043e5fbcfd7a03a5fac666b02ad9dd56..b5742a3a14c13378ead6dd834e3fdd31e1bca302 100644
(file)
--- a/
clients/test-eclient.c
+++ b/
clients/test-eclient.c
@@
-18,14
+18,10
@@
* USA
*/
* USA
*/
-#include <config.h>
-#include "types.h"
+#include "common.h"
#include <sys/select.h>
#include <sys/select.h>
-#include <stdio.h>
-#include <assert.h>
#include <errno.h>
#include <errno.h>
-#include <stdlib.h>
#include <time.h>
#include "queue.h"
#include <time.h>
#include "queue.h"
@@
-163,9
+159,9
@@
static void recent_completed(void *v, struct queue_entry *q) {
int main(int argc, char **argv) {
assert(argc > 0);
int main(int argc, char **argv) {
assert(argc > 0);
- mem_init(
1
);
+ mem_init();
debugging = 0; /* turn on for even more verbosity */
debugging = 0; /* turn on for even more verbosity */
- if(config_read()) fatal(0, "config_read failed");
+ if(config_read(
0
)) fatal(0, "config_read failed");
tracks = &argv[1];
c = disorder_eclient_new(&callbacks, &u_value);
assert(c != 0);
tracks = &argv[1];
c = disorder_eclient_new(&callbacks, &u_value);
assert(c != 0);