Clean up NetBSD libc Minix port.

This patch add the proper .if/.else/.endif to the Makefiles, add places I forgot #ifdef __minix and remove newlines.
This commit is contained in:
Gianluca Guida
2011-02-15 16:31:16 +00:00
parent ad4dda469f
commit 3c9575aadc
34 changed files with 2294 additions and 59 deletions

View File

@@ -56,7 +56,11 @@ __writelockenv(void)
}
static __inline bool
#ifdef __minix
__unlockenv(void)
#else /* Bug-to-bug compatibility? */
__unlocklockenv(void)
#endif
{
return true;
}

View File

@@ -4,7 +4,7 @@
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, ith or without
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright