diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-16 20:15:21 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-16 20:15:21 +0000 |
commit | 791b3307964a57345bdf45cb2d4d7c51881b66ff (patch) | |
tree | e3f3a0324abb14aab20e760e43a0076539653593 /src/char_sql/int_pet.h | |
parent | 78598d7156e3dee4663a4e5372b107257d0488f6 (diff) | |
download | hercules-791b3307964a57345bdf45cb2d4d7c51881b66ff.tar.gz hercules-791b3307964a57345bdf45cb2d4d7c51881b66ff.tar.bz2 hercules-791b3307964a57345bdf45cb2d4d7c51881b66ff.tar.xz hercules-791b3307964a57345bdf45cb2d4d7c51881b66ff.zip |
- Updated the login/char sql servers to let the sql tables autogenerate the new id, and then retrieve said id using mysql_insert_id rather than playing smart and loading the next insert ID on startup.
- Tables affected are: account creation, char creation, party creation, pet creation and guild creation.
- Also corrected some functions to be of type (void) rather than ()
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5298 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_pet.h')
-rw-r--r-- | src/char_sql/int_pet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/char_sql/int_pet.h b/src/char_sql/int_pet.h index d39574344..543dfe296 100644 --- a/src/char_sql/int_pet.h +++ b/src/char_sql/int_pet.h @@ -4,13 +4,13 @@ #ifndef _INT_PET_H_
#define _INT_PET_H_
-int inter_pet_init();
-void inter_pet_sql_final();
-int inter_pet_save();
+int inter_pet_init(void);
+void inter_pet_sql_final(void);
+int inter_pet_save(void);
int inter_pet_delete(int pet_id);
int inter_pet_parse_frommap(int fd);
-int inter_pet_sql_init();
+int inter_pet_sql_init(void);
//extern char pet_txt[256];
#endif
|