Changeset 5e0ea6f in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2025-10-15T17:06:13Z (2 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
b3a7151
Parents:
0640d52
Message:

math.h needs to be C++ compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/math.h

    r0640d52 r5e0ea6f  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2018 CZ.NIC, z.s.p.o.
    34 * All rights reserved.
     
    3031#define _MATH_H
    3132
     33#include <_bits/decls.h>
    3234#include <limits.h>
    3335#include <stddef.h>
    3436#include <float.h>
     37
     38__C_DECLS_BEGIN;
    3539
    3640#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_HELENOS_SOURCE)
     
    322326#endif
    323327
     328__C_DECLS_END;
     329
    324330#endif /* _MATH_H */
Note: See TracChangeset for help on using the changeset viewer.