mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Brucification: Don't initialize in declaration, make sure extra lines
follow declaration section.
This commit is contained in:
parent
f415f20926
commit
fee66713ad
2 changed files with 5 additions and 2 deletions
|
|
@ -52,7 +52,9 @@ index
|
|||
#endif
|
||||
(const char *p, int ch)
|
||||
{
|
||||
char c = ch;
|
||||
char c;
|
||||
|
||||
c = ch;
|
||||
for (;; ++p) {
|
||||
if (*p == c)
|
||||
return ((char *)p);
|
||||
|
|
|
|||
|
|
@ -53,8 +53,9 @@ rindex
|
|||
(const char *p, int ch)
|
||||
{
|
||||
char *save;
|
||||
char c = ch;
|
||||
char c;
|
||||
|
||||
c = ch;
|
||||
for (save = NULL;; ++p) {
|
||||
if (*p == c)
|
||||
save = (char *)p;
|
||||
|
|
|
|||
Loading…
Reference in a new issue