]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf.c
Moved endianity settings etc. to the per-CPU section.
[libucw.git] / lib / conf.c
index b29b768285fb8add587f7443ee155a78180e748c..de6598105cfe08e540eeda36a4725a37b3b37d6e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Reading of configuration files
+ *     UCW Library -- Reading of configuration files
  *
  *     (c) 2001 Robert Spalek <robert@ucw.cz>
  *     (c) 2003 Martin Mares <mj@ucw.cz>
@@ -11,7 +11,7 @@
 #include "lib/lib.h"
 #include "lib/chartype.h"
 #include "lib/fastbuf.h"
-#include "lib/pools.h"
+#include "lib/mempool.h"
 
 #include "lib/conf.h"
 
 static struct cfitem *cfsection;
 struct mempool *cfpool;
 
+#ifndef DEFAULT_CONFIG
+#define DEFAULT_CONFIG NULL
+#endif
+
 byte *cfdeffile = DEFAULT_CONFIG;
 
 static void CONSTRUCTOR