summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-31 23:24:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-05-31 23:24:59 +0200
commit703721ff8e0955029c99208b7d99f7bde68243f4 (patch)
tree8380a4a5c7aedd162cc2b7d8d33a17d9e4e436d8 /util.h
parent0e7659200e3c881e354aab00b758d25408a21544 (diff)
parenta1e93482d9cc9ace5fc1494677b45d965f1ddcb7 (diff)
Merge tag 'upstream/3.1' into feature/upstream
Upstream version 3.1
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 9d409cd..3094cf8 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/*
* This file is part of the dmidecode project.
*
- * Copyright (C) 2003-2015 Jean Delvare <jdelvare@suse.de>
+ * Copyright (C) 2003-2017 Jean Delvare <jdelvare@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@
#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
int checksum(const u8 *buf, size_t len);
-void *read_file(size_t len, const char *filename);
+void *read_file(off_t base, size_t *len, const char *filename);
void *mem_chunk(off_t base, size_t len, const char *devmem);
int write_dump(size_t base, size_t len, const void *data, const char *dumpfile, int add);
u64 u64_range(u64 start, u64 end);