mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Beautify code with uncrustify
This commit is contained in:
parent
04711f7483
commit
21acc31bf1
15 changed files with 79 additions and 67 deletions
|
|
@ -212,7 +212,7 @@ void printp(double v, size_t pad);
|
|||
/****************************************************************************/
|
||||
/* string */
|
||||
|
||||
#define ESC_MAX (PATH_MAX*2 + 1)
|
||||
#define ESC_MAX (PATH_MAX * 2 + 1)
|
||||
|
||||
/**
|
||||
* Escape a string for the log.
|
||||
|
|
@ -251,7 +251,7 @@ char* strpolish(char* s);
|
|||
unsigned strsplit(char** split_map, unsigned split_max, char* line, const char* delimiters);
|
||||
|
||||
/**
|
||||
* Trim spaces from the start and the end
|
||||
* Trim spaces from the start and the end
|
||||
*/
|
||||
void strtrim(char* s);
|
||||
|
||||
|
|
@ -263,9 +263,9 @@ void strlwr(char* s);
|
|||
#endif
|
||||
|
||||
/*
|
||||
* Find the first occurrence of 'needle' in 'haystack' only if it
|
||||
* Find the first occurrence of 'needle' in 'haystack' only if it
|
||||
* appears as a separate word (space, number or string boundaries).
|
||||
*
|
||||
*
|
||||
* Returns a pointer to the beginning of the match, or NULL if not found.
|
||||
*/
|
||||
char* worddigitstr(const char* haystack, const char* needle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue