Renamed div_t structs

This commit is contained in:
Gitea 2020-12-08 18:10:18 -06:00
parent 0402e546c2
commit 7c2f306cb2

View file

@ -28,20 +28,20 @@
#define MB_CUR_MAX (size_t) 1
typedef struct _f_div_t {
struct div_t {
int quot;
int rem;
} div_t;
};
typedef struct _f_ldiv_t {
struct ldiv_t {
long quot;
long rem;
} ldiv_t;
};
typedef struct _f_lldiv_t {
struct lldiv_t {
long long quot;
long long rem;
} lldiv_t;
};
__attribute__((__noreturn__))
void abort(void);
@ -49,9 +49,9 @@ void abort(void);
void srand(unsigned int);
int rand(void);
div_t div(int, int);
ldiv_t ldiv(long, long);
lldiv_t lldiv(long long, long long);
struct div_t div(int, int);
struct ldiv_t ldiv(long, long);
struct lldiv_t lldiv(long long, long long);
int abs(int);
long labs(long);