summaryrefslogtreecommitdiffstats
path: root/src/lib/formats/ioprocs.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/lib/formats/ioprocs.h
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/lib/formats/ioprocs.h')
-rw-r--r--src/lib/formats/ioprocs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/formats/ioprocs.h b/src/lib/formats/ioprocs.h
index 08acbe45295..ac032d5e1f3 100644
--- a/src/lib/formats/ioprocs.h
+++ b/src/lib/formats/ioprocs.h
@@ -24,10 +24,10 @@
struct io_procs
{
void (*closeproc)(void *file);
- int (*seekproc)(void *file, INT64 offset, int whence);
+ int (*seekproc)(void *file, int64_t offset, int whence);
size_t (*readproc)(void *file, void *buffer, size_t length);
size_t (*writeproc)(void *file, const void *buffer, size_t length);
- UINT64 (*filesizeproc)(void *file);
+ uint64_t (*filesizeproc)(void *file);
};
@@ -36,7 +36,7 @@ struct io_generic
{
const struct io_procs *procs;
void *file;
- UINT8 filler;
+ uint8_t filler;
};
@@ -62,10 +62,10 @@ extern const struct io_procs corefile_ioprocs_noclose;
void io_generic_close(struct io_generic *genio);
-void io_generic_read(struct io_generic *genio, void *buffer, UINT64 offset, size_t length);
-void io_generic_write(struct io_generic *genio, const void *buffer, UINT64 offset, size_t length);
-void io_generic_write_filler(struct io_generic *genio, UINT8 filler, UINT64 offset, size_t length);
-UINT64 io_generic_size(struct io_generic *genio);
+void io_generic_read(struct io_generic *genio, void *buffer, uint64_t offset, size_t length);
+void io_generic_write(struct io_generic *genio, const void *buffer, uint64_t offset, size_t length);
+void io_generic_write_filler(struct io_generic *genio, uint8_t filler, uint64_t offset, size_t length);
+uint64_t io_generic_size(struct io_generic *genio);