diff options
| author | Sam Ravnborg <sam@ravnborg.org> | 2003-05-16 22:20:16 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-16 22:20:16 -0700 |
| commit | 3584199aaf995eea33b57fb1e933711c0fffe5cf (patch) | |
| tree | 2d4405722e1f4d33f7cf81d5b5e7d0b50be114cb /fs/filesystems.c | |
| parent | 1fafca1437c88695903aa1b526879f205fa9959a (diff) | |
[PATCH] Remove 'strchr' warning from reiserfs
Reiserfs emits a warning about strchr being defined but not used. I
finally tracked down the reason for this. gcc - when seeing strstr(x,
"%") recognized that the second parameter is a char, and therefore uses
strchr instead of strstr. The workaround to avoid the warning is to
replace the call to strstr with strchr - which is OK.
This hides the warning, and brings us down to 6 warnings for a make
defconfig bzImage.
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions
