]> err.no Git - linux-2.6/commit
Fix compiler warning in smount example program from sharedsubtree.txt
authorJesper Juhl <jesper.juhl@gmail.com>
Sat, 20 Oct 2007 00:44:34 +0000 (02:44 +0200)
committerAdrian Bunk <bunk@kernel.org>
Sat, 20 Oct 2007 00:44:34 +0000 (02:44 +0200)
commit2de206d8f09c8b01d3721f860c28258838953a18
tree7e26e74eaf29051935e120fd2a59e25e644a95f7
parentf8c34f9816d9dd9d09ed9a78332fbe698e8fc765
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>
Documentation/sharedsubtree.txt