aboutsummaryrefslogtreecommitdiff
path: root/programs/src/kconfig_parser/symlist.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-03-26 15:17:05 +0100
committerKarel Kočí <cynerd@email.cz>2015-03-26 15:17:05 +0100
commita457b9823e4c46b5d7bc7d5800008a483502ad32 (patch)
tree794e88f8a1416e2d317a7aa0af4a1ef973c710fd /programs/src/kconfig_parser/symlist.h
parentf91e9e472d50795b6e67dfb3905559800a3bef66 (diff)
downloadlinux-conf-perf-a457b9823e4c46b5d7bc7d5800008a483502ad32.tar.gz
linux-conf-perf-a457b9823e4c46b5d7bc7d5800008a483502ad32.tar.bz2
linux-conf-perf-a457b9823e4c46b5d7bc7d5800008a483502ad32.zip
kconfig_parser moved from programs to scripts
This way all executable code is inside scripts directory.
Diffstat (limited to 'programs/src/kconfig_parser/symlist.h')
-rw-r--r--programs/src/kconfig_parser/symlist.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/programs/src/kconfig_parser/symlist.h b/programs/src/kconfig_parser/symlist.h
deleted file mode 100644
index 88bf4b0..0000000
--- a/programs/src/kconfig_parser/symlist.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef _SYMLIST_H_
-#define _SYMLIST_H_
-
-#include <stdbool.h>
-#include <string.h>
-#include "cnfexpr.h"
-
-struct symlist_el {
- unsigned int id;
- char *name;
- struct cnfexpr *be;
- struct cnfexpr *re_be; // forward dependency
-};
-struct symlist {
- struct symlist_el *array;
- size_t size, pos;
-};
-
-struct symlist *symlist_create();
-void symlist_add(struct symlist *sl, char *name);
-struct symlist_el *symlist_find(struct symlist *sl, char *name);
-void symlist_print(struct symlist *sl);
-void symlist_free(struct symlist *sl);
-
-#endif /* _SYMLIST_H_ */