diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-07 12:43:13 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-07 12:43:13 -0500 |
commit | f25ce7ab7d5d57b88739f5b043a4132f97cac2d6 (patch) | |
tree | e5ccc9360ce760f0a9bff53fa07dca47472b73af /freebsd-userspace/rtems/include/un-namespace.h | |
parent | freebsd/stdint.h: Add user space wrapper for freebsd/sys/stdint.h (diff) | |
download | rtems-libbsd-f25ce7ab7d5d57b88739f5b043a4132f97cac2d6.tar.bz2 |
libc namespace.h: Use RTEMS specific versions
FreeBSD adds an _ prefix to a number of libc symbols so they
can switch from threaded to non-threaded libraries. We don't
have that distinction and don't need this.
Unfortunately, they also explicitly use the _ prefixed names
of some methods. So we fix this in our version of namespace.h
Diffstat (limited to 'freebsd-userspace/rtems/include/un-namespace.h')
-rw-r--r-- | freebsd-userspace/rtems/include/un-namespace.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/freebsd-userspace/rtems/include/un-namespace.h b/freebsd-userspace/rtems/include/un-namespace.h new file mode 100644 index 00000000..287a2382 --- /dev/null +++ b/freebsd-userspace/rtems/include/un-namespace.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) XXX + * All rights reserved. + * + * 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 + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _UN_NAMESPACE_H_ +#define _UN_NAMESPACE_H_ + +#endif /* _UN_NAMESPACE_H_ */ |