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:
@@ -56,7 +56,11 @@ __writelockenv(void)
|
||||
}
|
||||
|
||||
static __inline bool
|
||||
#ifdef __minix
|
||||
__unlockenv(void)
|
||||
#else /* Bug-to-bug compatibility? */
|
||||
__unlocklockenv(void)
|
||||
#endif
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user