Style change for strnatcmp

This commit is contained in:
o9000
2016-02-26 11:08:20 +01:00
parent 7c70ae365e
commit 1d28475a0c
2 changed files with 48 additions and 63 deletions

View File

@@ -20,11 +20,8 @@
3. This notice may not be removed or altered from any source distribution.
*/
/* CUSTOMIZATION SECTION
*
* You can change this typedef, but must then also change the inline
* functions in strnatcmp.c */
typedef char nat_char;
// Compare, recognizing numeric strings. Case sensitive.
int strnatcmp(char const *a, char const *b);
int strnatcmp(nat_char const *a, nat_char const *b);
int strnatcasecmp(nat_char const *a, nat_char const *b);
// Compare, recognizing numeric strings. Case insensitive.
int strnatcasecmp(char const *a, char const *b);