Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2de206d8f09c8b01d3721f860c28258838953a18 Commit: 2de206d8f09c8b01d3721f860c28258838953a18 Parent: f8c34f9816d9dd9d09ed9a78332fbe698e8fc765 Author: Jesper Juhl <[EMAIL PROTECTED]> AuthorDate: Sat Oct 20 02:44:34 2007 +0200 Committer: Adrian Bunk <[EMAIL PROTECTED]> CommitDate: Sat Oct 20 02:44:34 2007 +0200
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 <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- Documentation/sharedsubtree.txt | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/sharedsubtree.txt b/Documentation/sharedsubtree.txt index ccf1ceb..7365400 100644 --- a/Documentation/sharedsubtree.txt +++ b/Documentation/sharedsubtree.txt @@ -153,6 +153,7 @@ replicas continue to be exactly same. #include <stdio.h> #include <stdlib.h> #include <unistd.h> + #include <string.h> #include <sys/mount.h> #include <sys/fsuid.h> - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html