summaryrefslogtreecommitdiff
path: root/misc/uClibc++/include
diff options
context:
space:
mode:
Diffstat (limited to 'misc/uClibc++/include')
-rw-r--r--misc/uClibc++/include/uClibc++/basic_definitions37
-rw-r--r--misc/uClibc++/include/uClibc++/func_exception49
2 files changed, 45 insertions, 41 deletions
diff --git a/misc/uClibc++/include/uClibc++/basic_definitions b/misc/uClibc++/include/uClibc++/basic_definitions
index ff2b29054..dc4d53121 100644
--- a/misc/uClibc++/include/uClibc++/basic_definitions
+++ b/misc/uClibc++/include/uClibc++/basic_definitions
@@ -1,26 +1,31 @@
-/* Copyright (C) 2004 Garrett A. Kajmowicz
- This file is part of the uClibc++ Library.
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-*/
+/* Copyright (C) 2004 Garrett A. Kajmowicz
+ * This file is part of the uClibc++ Library.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
#ifndef __BASIC_DEFINITIONS
#define __BASIC_DEFINITIONS 1
+// NuttX Configuration
+
#include <nuttx/config.h>
#include <nuttx/compiler.h>
+// Deprecated
+
#include <system_configuration.h>
#pragma GCC visibility push(default)
diff --git a/misc/uClibc++/include/uClibc++/func_exception b/misc/uClibc++/include/uClibc++/func_exception
index 1b7bdd8c5..ecf446e6e 100644
--- a/misc/uClibc++/include/uClibc++/func_exception
+++ b/misc/uClibc++/include/uClibc++/func_exception
@@ -1,38 +1,37 @@
-/* Copyright (C) 2004 Garrett A. Kajmowicz
-
- This file is part of the uClibc++ Library.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+/* Copyright (C) 2004 Garrett A. Kajmowicz
+ *
+ * This file is part of the uClibc++ Library.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <basic_definitions>
#include <exception>
-
#ifndef HEADER_IMPLEMENTATION_FUNC_EXCEPTION
#define HEADER_IMPLEMENTATION_FUNC_EXCEPTION
#pragma GCC visibility push(default)
-namespace std{
-
- _UCXXEXPORT void __throw_bad_alloc();
- _UCXXEXPORT void __throw_out_of_range(const char * message = 0);
- _UCXXEXPORT void __throw_overflow_error(const char * message = 0);
- _UCXXEXPORT void __throw_length_error(const char * message = 0);
- _UCXXEXPORT void __throw_invalid_argument(const char * message = 0);
+namespace std
+{
+ _UCXXEXPORT void __throw_bad_alloc();
+ _UCXXEXPORT void __throw_out_of_range(const char *message = 0);
+ _UCXXEXPORT void __throw_overflow_error(const char *message = 0);
+ _UCXXEXPORT void __throw_length_error(const char *message = 0);
+ _UCXXEXPORT void __throw_invalid_argument(const char *message = 0);
}
#pragma GCC visibility pop