Import from OpenBSD: clang-format, naming and symbols, checkpatch clean
authorDan Cross <crossd@gmail.com>
Thu, 2 Jun 2016 22:23:49 +0000 (18:23 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 3 Jun 2016 12:36:58 +0000 (08:36 -0400)
commitfd19c2b1cb8cc06aac24a2466ce1c314493a87f5
tree0ebb2c8fbf449b2c3fbe5a2f8fecdf3db56a7714
parent6e820d487cfb458533a3d483ce708458728d810d
Import from OpenBSD: clang-format, naming and symbols, checkpatch clean

Run clang-format on new sources from OpenBSD and make them
'checkpatch clean': this involved one small change in strlcpy.c
to move an assignment outside of a conditional.

Replace the OpenBSD 'DEF_WEAK' macro invocations with 'weak_alias',
as per other library code.

Change-Id: Ifc3520f5f486a144de26329b4fe45c700b755047
Signed-off-by: Dan Cross <crossd@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/reallocarray.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/strlcat.c
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/strlcpy.c