step 1) move all headers to include/lsf
committer: Markus Bröker <mbroeker@largo.homelinux.org>
deleted file mode 100644
--- a/lsflib/include/bits.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * test/demos/lsflib/include/bits.h
- * Copyright (C) 2008 Markus Broeker
- */
-
-#ifndef __BITS_H__
-#define __BITS_H__
-
-#define BITS 8
-
-char *bindump (char *, int);
-char *hexdump (char *, int);
-char *not (char *);
-char *xor (char *, char);
-
-#endif
deleted file mode 100644
--- a/lsflib/include/cpuid.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * test/demos/lsflib/include/cpuid.h
- * Copyright (C) 2008 Markus Broeker
- */
-
-#ifndef __CPUID_H__
-#define __CPUID_H__
-
-#include <memory.h>
-
-typedef unsigned long ULONG;
-
-char *get_cpu_brand (int);
-char *get_cpu_vendor (void);
-
-ULONG get_cpu_function (ULONG, ULONG *, ULONG *, ULONG *, ULONG *);
-
-#endif
deleted file mode 100644
--- a/lsflib/include/list.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * test/demos/lsflib/include/list.h
- * Copyright (C) 2008 Markus Broeker
- */
-
-#ifndef __LIST_H__
-#define __LIST_H__
-
-typedef struct node {
- char *data;
- struct node *next;
-} Node;
-
-void set_limit (long);
-Node *addnode (Node *, char *);
-Node *getnode (Node *);
-#endif
deleted file mode 100644
--- a/lsflib/include/lsf.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * test/demos/lsflib/include/lsf.h
- * Copyright (C) 2008 Markus Broeker
- */
-
-#ifndef __LSF_H__
-#define __LSF_H__
-
-#ifndef LINE_LENGTH
-#define LINE_LENGTH 100
-#endif
-
-#include <stdio.h>
-#ifndef __LIST__H
-#include <list.h>
-#endif
-
-/* tokenizer splits a file into tokens */
-Node *tokenizer (FILE *, const char *);
-
-/* tokenchar splits a file into chars */
-int tokenchar (FILE *);
-
-/* get_line returns a multiline string str="...\n..." */
-char *get_line (const char *, const char *, size_t);
-
-/* isDir returns true, if a fd points to a dir */
-int isDir (char *);
-
-/* isDir returns true, if a fd points to a file */
-int isFile (char *);
-
-/* getdir prints a dir hierarchy */
-void getdir (char *, int);
-
-/* returns a pointer int* */
-unsigned char *md5sum (char *);
-
-void md5recursive (char *, int);
-
-#endif
new file mode 100644
--- /dev/null
+++ b/lsflib/include/lsf/bits.h
@@ -0,0 +1,16 @@
+/**
+ * test/demos/lsflib/include/bits.h
+ * Copyright (C) 2008 Markus Broeker
+ */
+
+#ifndef __BITS_H__
+#define __BITS_H__
+
+#define BITS 8
+
+char *bindump (char *, int);
+char *hexdump (char *, int);
+char *not (char *);
+char *xor (char *, char);
+
+#endif
new file mode 100644
--- /dev/null
+++ b/lsflib/include/lsf/cpuid.h
@@ -0,0 +1,18 @@
+/**
+ * test/demos/lsflib/include/cpuid.h
+ * Copyright (C) 2008 Markus Broeker
+ */
+
+#ifndef __CPUID_H__
+#define __CPUID_H__
+
+#include <memory.h>
+
+typedef unsigned long ULONG;
+
+char *get_cpu_brand (int);
+char *get_cpu_vendor (void);
+
+ULONG get_cpu_function (ULONG, ULONG *, ULONG *, ULONG *, ULONG *);
+
+#endif
new file mode 100644
--- /dev/null
+++ b/lsflib/include/lsf/list.h
@@ -0,0 +1,17 @@
+/**
+ * test/demos/lsflib/include/list.h
+ * Copyright (C) 2008 Markus Broeker
+ */
+
+#ifndef __LIST_H__
+#define __LIST_H__
+
+typedef struct node {
+ char *data;
+ struct node *next;
+} Node;
+
+void set_limit (long);
+Node *addnode (Node *, char *);
+Node *getnode (Node *);
+#endif
new file mode 100644
--- /dev/null
+++ b/lsflib/include/lsf/lsf.h
@@ -0,0 +1,41 @@
+/**
+ * test/demos/lsflib/include/lsf.h
+ * Copyright (C) 2008 Markus Broeker
+ */
+
+#ifndef __LSF_H__
+#define __LSF_H__
+
+#ifndef LINE_LENGTH
+#define LINE_LENGTH 100
+#endif
+
+#include <stdio.h>
+#ifndef __LIST__H
+#include <list.h>
+#endif
+
+/* tokenizer splits a file into tokens */
+Node *tokenizer (FILE *, const char *);
+
+/* tokenchar splits a file into chars */
+int tokenchar (FILE *);
+
+/* get_line returns a multiline string str="...\n..." */
+char *get_line (const char *, const char *, size_t);
+
+/* isDir returns true, if a fd points to a dir */
+int isDir (char *);
+
+/* isDir returns true, if a fd points to a file */
+int isFile (char *);
+
+/* getdir prints a dir hierarchy */
+void getdir (char *, int);
+
+/* returns a pointer int* */
+unsigned char *md5sum (char *);
+
+void md5recursive (char *, int);
+
+#endif