make_directory: fix warning: no previous prototype
PATCH 2/3 make_directory: fix warning: no previous prototype
Signed-off-by Sergey Koshechkin <[email protected]>
--- lib/make_directory.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
lib/make_directory.c +4 -1
@@ -5,9 +5,12 @@#include <fs.h> #include <malloc.h> #include <common.h> +#define STATIC +#else +#define STATIC static inline#endif -int make_directory (const char *dir) +STATIC int make_directory(const char *dir) {char *s =strdup (dir);char *path = s;
Signature · 7 lines
2.6.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 4 lines · Sergey Koshechkin
Signed-off-by Sergey Koshechkin <[email protected]>--- lib/make_directory.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Applied, thanks
Sascha
Quoted 28 lines
lib/make_directory.c +4
-1@@ -5,9 +5,12 @@#include <fs.h> #include <malloc.h> #include <common.h> +#define STATIC +#else +#define STATIC static inline#endif -int make_directory (const char *dir) +STATIC int make_directory(const char *dir) {char *s =strdup (dir);char *path = s;Signature · 7 lines
2.6.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox