[haiku-commits] haiku: hrev54412 - headers/compatibility/gnu

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 7 Jul 2020 20:53:13 -0400 (EDT)

hrev54412 adds 1 changeset to branch 'master'
old head: 21e213d3b0970a9500a741e8072d878927828f87
new head: 4639c4e8980fab3476c17ca9cf2eed81c3e875e5
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=4639c4e8980f+%5E21e213d3b097

----------------------------------------------------------------------------

4639c4e8980f: headers: Add exp10 declarations to gnu/math.h.
  
  These are GNU extensions so they need to be behind _GNU_SOURCE.
  
  Fixes #16371.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev54412
Commit:      4639c4e8980fab3476c17ca9cf2eed81c3e875e5
URL:         https://git.haiku-os.org/haiku/commit/?id=4639c4e8980f
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Wed Jul  8 00:48:58 2020 UTC

Ticket:      https://dev.haiku-os.org/ticket/16371

----------------------------------------------------------------------------

1 file changed, 11 insertions(+), 4 deletions(-)
headers/compatibility/gnu/math.h | 15 +++++++++++----

----------------------------------------------------------------------------

diff --git a/headers/compatibility/gnu/math.h b/headers/compatibility/gnu/math.h
index 95ee4cb1ee..562455f0d3 100644
--- a/headers/compatibility/gnu/math.h
+++ b/headers/compatibility/gnu/math.h
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Haiku, Inc. All Rights Reserved.
+ * Copyright 2018-2020, Haiku, Inc. All rights reserved.
  * Distributed under the terms of the MIT License.
  */
 #ifndef _GNU_MATH_H_
@@ -16,9 +16,16 @@
 extern "C" {
 #endif
 
-extern void sincos(double x, double *sin, double *cos);
-extern void sincosf(float x, float *sin, float *cos);
-extern void sincosl(long double x, long double *sin, long double *cos);
+
+void sincos(double x, double *sin, double *cos);
+void sincosf(float x, float *sin, float *cos);
+void sincosl(long double x, long double *sin, long double *cos);
+
+
+double exp10(double);
+float exp10f(float);
+long double exp10l(long double);
+
 
 #ifdef __cplusplus
 }


Other related posts:

  • » [haiku-commits] haiku: hrev54412 - headers/compatibility/gnu - waddlesplash