Message ID | CALOYprWCwP0o0of0FCzrZSw8B5cU8kZT=TQB8RPJ0hXu5fF8nQ@mail.gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Wed, Jul 02, 2014 at 01:20:41AM +0100, WorMzy Tykashi wrote: > I'm getting a build failure in integration-20140701 in regard to these changes: > > --------- > [CC] help.o > help.c:23:23: error: 'ARGV0_BUF_SIZE' undeclared here (not in a function) > static char argv0_buf[ARGV0_BUF_SIZE]; > ^ > help.c:23:13: warning: 'argv0_buf' defined but not used [-Wunused-variable] > static char argv0_buf[ARGV0_BUF_SIZE]; > ^ > Makefile:114: recipe for target 'help.o' failed > make: *** [help.o] Error 1 > --------- Oh sorry, fixed branch pushed. I've added the utils.h inlucde into cmds-property.c as well, fixes "implicit declaration of function" warnings. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 2 July 2014 10:34, David Sterba <dsterba@suse.cz> wrote: > > Oh sorry, fixed branch pushed. I've added the utils.h inlucde into > cmds-property.c as well, fixes "implicit declaration of function" > warnings. Great stuff, thanks. WorMzy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/help.c 2014-07-02 01:14:02.365340224 +0100 +++ b/help.c 2014-07-02 01:13:49.995276342 +0100 @@ -19,6 +19,7 @@ #include <string.h> #include "commands.h" +#include "utils.h" static char argv0_buf[ARGV0_BUF_SIZE];