[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT/LIBNEWLIB PATCH 2/2] stdlib.c: add realpath() stub
Hi Felipe, I think this function should go at the end of file.c. Also, please fix the checkpatch issues. Cheers, Costin On 9/3/19 10:20 AM, Felipe Huici wrote: > Introduce stdlib.c and add realpath() stub. > > Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx> > --- > Makefile.uk | 1 + > stdlib.c | 5 +++++ > 2 files changed, 6 insertions(+) > create mode 100644 stdlib.c > > diff --git a/Makefile.uk b/Makefile.uk > index 7e72da4..020124a 100644 > --- a/Makefile.uk > +++ b/Makefile.uk > @@ -121,6 +121,7 @@ LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/pty.c > LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/time.c|glue > LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/locale.c > LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/dev.c > +LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/stdlib.c > LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/signal.c > LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/link.c > LIBNEWLIBGLUE_SRCS-y += $(LIBNEWLIBC_BASE)/mntent.c > diff --git a/stdlib.c b/stdlib.c > new file mode 100644 > index 0000000..7f58d0d > --- /dev/null > +++ b/stdlib.c > @@ -0,0 +1,5 @@ > +#include <stdlib.h> > + > +char *realpath(const char *restrict file_name, char *restrict resolved_name) > { > + return 0; > +} > _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |