summaryrefslogtreecommitdiff
path: root/src/common/utils.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-09 20:19:32 -0300
committershennetsind <ind@henn.et>2013-07-09 20:19:32 -0300
commitb08910e828bd6f2029f2434572d8f84b30eb7d9c (patch)
tree28932ba60514fd0483aa5d88e0fa8a43200cac3c /src/common/utils.h
parent55d42874dcf24c466f0104123d9efe280c0fd03c (diff)
downloadhercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.tar.gz
hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.tar.bz2
hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.tar.xz
hercules-b08910e828bd6f2029f2434572d8f84b30eb7d9c.zip
Travis Report Fixes
warn_unused_result shielding, dropped unused variables and fixed battle_calc_return_damage delay behavior (pointer was unchaged; resulting in the var afterwards always as 0) Special Thanks to Xgear. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/utils.h')
-rw-r--r--src/common/utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/utils.h b/src/common/utils.h
index d245f94e2..b1fb4e3a0 100644
--- a/src/common/utils.h
+++ b/src/common/utils.h
@@ -31,6 +31,9 @@ extern uint16 GetWord(uint32 val, int idx);
extern uint16 MakeWord(uint8 byte0, uint8 byte1);
extern uint32 MakeDWord(uint16 word0, uint16 word1);
+size_t hread(void * ptr, size_t size, size_t count, FILE * stream);
+size_t hwrite(const void * ptr, size_t size, size_t count, FILE * stream);
+
/* [Ind/Hercules] Caching */
struct HCache_interface {
void (*init) (void);