X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fplat.c;h=b7152b55538b5aff9677f64da8bc78f0705613f7;hb=705bdf63669b4703c79b10342b21acc97a14107c;hp=5788d1d53e90c02afab193464113d0a73e1d9fb7;hpb=2b9f9c51e68d4d5746c4ca2cd62b5f7b564ebf8a;p=libpicofe.git diff --git a/linux/plat.c b/linux/plat.c index 5788d1d..b7152b5 100644 --- a/linux/plat.c +++ b/linux/plat.c @@ -1,4 +1,14 @@ -#define _GNU_SOURCE +/* + * (C) Gražvydas "notaz" Ignotas, 2008-2010 + * + * This work is licensed under the terms of any of these licenses + * (at your option): + * - GNU GPL, version 2 or later. + * - GNU LGPL, version 2.1 or later. + * See the COPYING file in the top-level directory. + */ + +#define _GNU_SOURCE 1 #include #include #include @@ -38,7 +48,7 @@ int plat_get_root_dir(char *dst, int len) break; } - return 0; + return j; } #ifdef __GP2X__