From 38a75b98f3fd53b60cfeaff8ed9b08fd7afaad1c Mon Sep 17 00:00:00 2001 From: guenther Date: Sat, 12 Sep 2015 16:23:14 +0000 Subject: Wrap and finish wrapping of so that calls go direct and the symbols not in the C standard are weak --- lib/libc/hidden/inttypes.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lib/libc/hidden/inttypes.h (limited to 'lib/libc/hidden/inttypes.h') diff --git a/lib/libc/hidden/inttypes.h b/lib/libc/hidden/inttypes.h new file mode 100644 index 00000000000..25427145fe5 --- /dev/null +++ b/lib/libc/hidden/inttypes.h @@ -0,0 +1,30 @@ +/* $OpenBSD: inttypes.h,v 1.1 2015/09/12 16:23:14 guenther Exp $ */ +/* + * Copyright (c) 2015 Philip Guenther + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef _LIBC_INTTYPES_H_ +#define _LIBC_INTTYPES_H_ + +#include_next + +PROTO_STD_DEPRECATED(imaxabs); +PROTO_STD_DEPRECATED(imaxdiv); +PROTO_NORMAL(strtoimax); +PROTO_NORMAL(strtoumax); +PROTO_NORMAL(wcstoimax); +PROTO_NORMAL(wcstoumax); + +#endif /* _LIBC_INTTYPES_H_ */ -- cgit v1.2.3-59-g8ed1b