shithub: scc

Download patch

ref: 6f21c811a374c0382949273f9c2461932f6b39cf
parent: 72154ee31c060546f417db8094554ce8940df181
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Oct 19 11:26:41 EDT 2018

[libc] Add rand() to the list of functions

--- a/lib/c/target/script/objlst.mk
+++ b/lib/c/target/script/objlst.mk
@@ -2,7 +2,7 @@
 LIBOBJ = bsearch.o qsort.o \
          abs.o __abs.o labs.o __labs.o llabs.o __llabs.o \
          perror.o strerror.o \
-         tmpnam.o \
+         rand.o tmpnam.o \
          sprintf.o snprintf.o vsprintf.o vsnprintf.o \
          printf.o fprintf.o vfprintf.o \
          fgets.o gets.o fgetc.o fputc.o getchar.o putchar.o \