chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7303698
)
remove parse_separate, which we may want to put back later
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 00:18:27 +0000
(
01:18
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 6 Jun 2012 00:18:27 +0000
(
01:18
+0100)
cprogs/xacpi-simple.c
patch
|
blob
|
history
diff --git
a/cprogs/xacpi-simple.c
b/cprogs/xacpi-simple.c
index 6328e5b9e0efaa80200a2e8aeb4b3a979fe8ba41..bbdcecb7bfa723f8d29e796439ab0352ed913e71 100644
(file)
--- a/
cprogs/xacpi-simple.c
+++ b/
cprogs/xacpi-simple.c
@@
-82,7
+82,7
@@
typedef uint64_t value;
typedef struct fileinfo fileinfo;
typedef int parser(const fileinfo*);
-static parser parse_uevent
, parse_separate
;
+static parser parse_uevent;
struct fileinfo {
const char *filename;
@@
-260,11
+260,6
@@
static int parse_value(const fileinfo *cfile, const batinfo_field *field) {
return 0;
}
-static int parse_separate(const fileinfo *cfile) {
- batlinevalue = batlinebuf;
- return parse_value(cfile, cfile->extra);
-}
-
static int parse_uevent(const fileinfo *cfile) {
char *equals= strchr(batlinebuf,'=');
if (!equals)