Compile stdlib C files individually
All C files of stdlib were included into std.c, which was the file
that the Makefile actually compiled. This is a poor way of compiling
all the files and, while it may work fine most times, it's
discouraged.

In this particular case, each C file included its own headers, which
were later included into std.c. For example, this caused problems
because a duplicated typedef of u_short in both subr_prf.c and
types.h. While that may require an issue on its own, this kind of
problems are avoided if all C files are as independent as possible.

Change-Id: I9a7833fd2933003f19a5d7db921ed8542ea2d04a
1 parent 9931932 commit 191a008865993e4f778e165fe9df4f2e1f9dd8cb
@Antonio Nino Diaz Antonio Nino Diaz authored on 26 Feb 2016
Showing 2 changed files
View
Makefile
View
lib/stdlib/std.c 100644 → 0