chiark / gitweb /
scripts/teardown.in no longer removes things that are (now) installed
[disorder] / clients / test-eclient.c
index 67900ad624f7273756ffe0bac757e307cd5bbe75..b5742a3a14c13378ead6dd834e3fdd31e1bca302 100644 (file)
  * USA
  */
 
-#include <config.h>
-#include "types.h"
+#include "common.h"
 
 #include <sys/select.h>
-#include <stdio.h>
-#include <assert.h>
 #include <errno.h>
-#include <stdlib.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);
-  mem_init(1);
+  mem_init();
   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);
@@ -186,4 +182,3 @@ c-basic-offset:2
 comment-column:40
 End:
 */
-/* arch-tag:JRDbPXSlG3t9Urek88LwCg */