On Wed, Aug 12, 2009 at 8:33 PM, Matthew Stoltenberg<[email protected]> wrote: > +int volname_main(int argc, char *argv[]) > +{ > + int fd; > + int status; > + char *device; > + char buffer[33]; > + > + if (argc == 2) { > + device = argv[1];
cc1: warnings being treated as errors miscutils/volname.c:33: error: no previous prototype for 'volname_main' miscutils/volname.c: In function 'volname_main': miscutils/volname.c:39: error: assignment discards qualifiers from pointer target type You need to try to eliminate all warnings before you submit your code. I applied your code with some edits. Thanks. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
