mbedmicro/mbed — pull request #239 by neilt6 (2014-03-31 16:30:45+00:00)
Title: Changed error(...) to a weak function

Made error(...) a weak function so that it can be overridden in production projects. Also fixed several serial_api.c files that required stdlib.h, but were getting it from error.h.