diff options
author | Jon Loeliger <jdl@jdl.com> | 2013-04-22 15:41:41 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2013-04-22 15:41:41 -0500 |
commit | 5543b88d5e3047b781552eb431bc2e3bdd9ade06 (patch) | |
tree | 5ed03ba3b351a32cf10935fef5659ce58fe31065 /util.h | |
parent | 31be4ce7ca550a6fd9c4eb39abdd2f9f5ac8db44 (diff) | |
download | dtc-5543b88d5e3047b781552eb431bc2e3bdd9ade06.tar.gz |
Revert "utilfdt_read: pass back up the length of data read"
This reverts commit cc2c178727cdeca4eb9756637c2e09e50e0856e7.
It was the wrong version of the patch.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -80,10 +80,9 @@ char get_escape_char(const char *s, int *i); * stderr. * * @param filename The filename to read, or - for stdin - * @param len If non-NULL, the amount of data we managed to read * @return Pointer to allocated buffer containing fdt, or NULL on error */ -char *utilfdt_read(const char *filename, off_t *len); +char *utilfdt_read(const char *filename); /** * Read a device tree file into a buffer. Does not report errors, but only @@ -92,10 +91,9 @@ char *utilfdt_read(const char *filename, off_t *len); * * @param filename The filename to read, or - for stdin * @param buffp Returns pointer to buffer containing fdt - * @param len If non-NULL, the amount of data we managed to read * @return 0 if ok, else an errno value representing the error */ -int utilfdt_read_err(const char *filename, char **buffp, off_t *len); +int utilfdt_read_err(const char *filename, char **buffp); /** |