From ad049a15b43b7ddba3fe7d0a898652fc8022629d Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 22 Apr 2014 11:46:23 -0700 Subject: Use strict ID types Possibly some missing for the far side of the network. AccountId and BlockId are still terribly entangled. --- src/map/storage.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/map/storage.hpp') diff --git a/src/map/storage.hpp b/src/map/storage.hpp index 702c908..bdfc049 100644 --- a/src/map/storage.hpp +++ b/src/map/storage.hpp @@ -21,7 +21,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "../sanity.hpp" +# include "fwd.hpp" # include "map.hpp" @@ -30,10 +30,10 @@ int storage_storageadd(dumb_ptr sd, int index, int amount); int storage_storageget(dumb_ptr sd, int index, int amount); int storage_storageclose(dumb_ptr sd); void do_final_storage(void); -struct storage *account2storage(int account_id); -struct storage *account2storage2(int account_id); +struct storage *account2storage(AccountId account_id); +struct storage *account2storage2(AccountId account_id); int storage_storage_quit(dumb_ptr sd); -int storage_storage_save(int account_id, int final); -int storage_storage_saved(int account_id); +int storage_storage_save(AccountId account_id, int final); +int storage_storage_saved(AccountId account_id); #endif // TMWA_MAP_STORAGE_HPP -- cgit v1.2.3-60-g2f50