diff options
author | Shido <the.keikun@gmail.com> | 2014-05-30 10:37:54 +0800 |
---|---|---|
committer | Shido <the.keikun@gmail.com> | 2014-05-30 10:37:54 +0800 |
commit | 0a4975ed611db7d1bcfe501008085e420e743128 (patch) | |
tree | bf24b6bd33949e0fb5d1d5e5567571b261831c23 /src/common/ers.c | |
parent | 94f958f87460f077bea712db35b1c461ab749e68 (diff) | |
download | hercules-0a4975ed611db7d1bcfe501008085e420e743128.tar.gz hercules-0a4975ed611db7d1bcfe501008085e420e743128.tar.bz2 hercules-0a4975ed611db7d1bcfe501008085e420e743128.tar.xz hercules-0a4975ed611db7d1bcfe501008085e420e743128.zip |
Fixed typos inside src/
Diffstat (limited to 'src/common/ers.c')
-rw-r--r-- | src/common/ers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/ers.c b/src/common/ers.c index 39e05a14c..0842d9e15 100644 --- a/src/common/ers.c +++ b/src/common/ers.c @@ -13,16 +13,16 @@ * If it has reusable entries (freed entry), it uses one. * * So no assumption should be made about the data of the entry. * * Entries should be freed in the manager they where allocated from. * - * Failure to do so can lead to unexpected behaviours. * + * Failure to do so can lead to unexpected behaviors. * * * * <H2>Advantages:</H2> * * - The same manager is used for entries of the same size. * * So entries freed in one instance of the manager can be used by other * * instances of the manager. * * - Much less memory allocation/deallocation - program will be faster. * - * - Avoids memory fragmentaion - program will run better for longer. * + * - Avoids memory fragmentation - program will run better for longer. * * * - * <H2>Disavantages:</H2> * + * <H2>Disadvantages:</H2> * * - Unused entries are almost inevitable - memory being wasted. * * - A manager will only auto-destroy when all of its instances are * * destroyed so memory will usually only be recovered near the end. * @@ -104,7 +104,7 @@ struct ers_instance_t { // Interface to ERS struct eri VTable; - // Name, used for debbuging purpouses + // Name, used for debugging purposes char *Name; // Misc options |