diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-10-19 20:44:34 -0400 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-10-19 20:44:34 -0400 |
commit | 2de206d8f09c8b01d3721f860c28258838953a18 (patch) | |
tree | 7e26e74eaf29051935e120fd2a59e25e644a95f7 /Documentation | |
parent | f8c34f9816d9dd9d09ed9a78332fbe698e8fc765 (diff) |
Fix compiler warning in smount example program from sharedsubtree.txt
If one compiles the example smount program, found in
Documentation/sharedsubtree.txt, with -Wall then there's a small
compiler warning rearing its ugly head :
smount.c: In function 'main':
smount.c:45: warning: implicit declaration of function 'strcmp'
Easily fixed by just including string.h
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/sharedsubtree.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/sharedsubtree.txt b/Documentation/sharedsubtree.txt index ccf1cebe744f..736540045dc7 100644 --- a/Documentation/sharedsubtree.txt +++ b/Documentation/sharedsubtree.txt | |||
@@ -153,6 +153,7 @@ replicas continue to be exactly same. | |||
153 | #include <stdio.h> | 153 | #include <stdio.h> |
154 | #include <stdlib.h> | 154 | #include <stdlib.h> |
155 | #include <unistd.h> | 155 | #include <unistd.h> |
156 | #include <string.h> | ||
156 | #include <sys/mount.h> | 157 | #include <sys/mount.h> |
157 | #include <sys/fsuid.h> | 158 | #include <sys/fsuid.h> |
158 | 159 | ||