Skip to content

Commit

Permalink
Proper code styling for asterisks
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonch35 committed Dec 1, 2024
1 parent e882183 commit dc85a3e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/map/intif.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ struct intif_interface {
int pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name);
int (*saveregistry) (struct map_session_data *sd);
int (*request_registry) (struct map_session_data *sd, int flag);
void (*request_account_storage) (const struct map_session_data* sd, int storage_id);
void (*send_account_storage) (struct map_session_data* sd, int storage_id);
void (*request_account_storage) (const struct map_session_data *sd, int storage_id);
void (*send_account_storage) (struct map_session_data *sd, int storage_id);
int (*request_guild_storage) (int account_id, int guild_id);
int (*send_guild_storage) (int account_id, struct guild_storage *gstor);
int (*create_party) (struct party_member *member, const char *name, int item, int item2);
Expand Down
24 changes: 12 additions & 12 deletions src/map/storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,23 @@ struct storage_interface {
void (*final) (void);
/* */
void (*reconnect) (void);
bool (*config_read) (const char* filename, bool imported);
void (*config_read_additional_fields) (struct config_setting_t* t, struct storage_settings* s_conf, const char* filename);
bool (*config_read) (const char *filename, bool imported);
void (*config_read_additional_fields) (struct config_setting_t *t, struct storage_settings *s_conf, const char *filename);
/* */
int (*get_id_by_name) (const char* storage_name);
struct storage_data* (*ensure) (struct map_session_data* sd, int storage_id);
int (*get_id_by_name) (const char *storage_name);
struct storage_data* (*ensure) (struct map_session_data *sd, int storage_id);
const struct storage_settings* (*get_settings) (int storage_id);
int (*delitem) (struct map_session_data* sd, struct storage_data* stor, int n, int amount);
int (*open) (struct map_session_data* sd, struct storage_data* stor, enum storage_access_modes mode);
int (*add) (struct map_session_data* sd, struct storage_data* stor, int index, int amount);
int (*get) (struct map_session_data* sd, struct storage_data* stor, int index, int amount);
int (*additem) (struct map_session_data* sd, struct storage_data* stor, struct item* item_data, int amount);
int (*addfromcart) (struct map_session_data* sd, struct storage_data* stor, int index, int amount);
int (*gettocart) (struct map_session_data* sd, struct storage_data* stor, int index, int amount);
int (*delitem) (struct map_session_data *sd, struct storage_data *stor, int n, int amount);
int (*open) (struct map_session_data *sd, struct storage_data *stor, enum storage_access_modes mode);
int (*add) (struct map_session_data *sd, struct storage_data *stor, int index, int amount);
int (*get) (struct map_session_data *sd, struct storage_data *stor, int index, int amount);
int (*additem) (struct map_session_data *sd, struct storage_data *stor, struct item *item_data, int amount);
int (*addfromcart) (struct map_session_data *sd, struct storage_data *stor, int index, int amount);
int (*gettocart) (struct map_session_data *sd, struct storage_data *stor, int index, int amount);
void (*close) (struct map_session_data *sd);
void (*pc_quit) (struct map_session_data *sd, int flag);
int (*comp_item) (const void *i1_, const void *i2_);
void (*sortitem) (struct item* items, unsigned int size);
void (*sortitem) (struct item *items, unsigned int size);
int (*reconnect_sub) (union DBKey key, struct DBData *data, va_list ap);
};

Expand Down

0 comments on commit dc85a3e

Please sign in to comment.