summaryrefslogtreecommitdiff
path: root/usr/src/head/iso/stdlib_iso.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/iso/stdlib_iso.h')
-rw-r--r--usr/src/head/iso/stdlib_iso.h44
1 files changed, 2 insertions, 42 deletions
diff --git a/usr/src/head/iso/stdlib_iso.h b/usr/src/head/iso/stdlib_iso.h
index 5b958873c4..a2752ca421 100644
--- a/usr/src/head/iso/stdlib_iso.h
+++ b/usr/src/head/iso/stdlib_iso.h
@@ -20,12 +20,11 @@
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-/*
- * Copyright 2013 Garrett D'Amore <garrett@damore.org>
- */
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
@@ -52,11 +51,7 @@
extern "C" {
#endif
-#if defined(__STDC__)
unsigned char __mb_cur_max(void);
-#else
-unsigned char __mb_cur_max();
-#endif
#ifndef MB_CUR_MAX
#define MB_CUR_MAX (__mb_cur_max())
#endif
@@ -120,8 +115,6 @@ typedef long wchar_t;
#endif /* !_WCHAR_T */
#endif /* !defined(__cplusplus) ... */
-#if defined(__STDC__)
-
extern void abort(void) __NORETURN;
extern int abs(int);
extern int atexit(void (*)(void));
@@ -174,39 +167,6 @@ extern "C++" {
}
#endif /* __cplusplus */
-#else /* not __STDC__ */
-
-extern void abort();
-extern int abs();
-extern int atexit();
-extern double atof();
-extern int atoi();
-extern long int atol();
-extern void *bsearch();
-extern void *calloc();
-extern div_t div();
-extern void exit();
-extern void free();
-extern char *getenv();
-extern long int labs();
-extern ldiv_t ldiv();
-extern void *malloc();
-extern int mblen();
-extern size_t mbstowcs();
-extern int mbtowc();
-extern void qsort();
-extern int rand();
-extern void *realloc();
-extern void srand();
-extern double strtod();
-extern long int strtol();
-extern unsigned long strtoul();
-extern int system();
-extern int wctomb();
-extern size_t wcstombs();
-
-#endif /* __STDC__ */
-
#if __cplusplus >= 199711L
}
#endif /* end of namespace std */