Renamed div_t structs
This commit is contained in:
parent
0402e546c2
commit
7c2f306cb2
1 changed files with 9 additions and 9 deletions
|
@ -28,20 +28,20 @@
|
||||||
|
|
||||||
#define MB_CUR_MAX (size_t) 1
|
#define MB_CUR_MAX (size_t) 1
|
||||||
|
|
||||||
typedef struct _f_div_t {
|
struct div_t {
|
||||||
int quot;
|
int quot;
|
||||||
int rem;
|
int rem;
|
||||||
} div_t;
|
};
|
||||||
|
|
||||||
typedef struct _f_ldiv_t {
|
struct ldiv_t {
|
||||||
long quot;
|
long quot;
|
||||||
long rem;
|
long rem;
|
||||||
} ldiv_t;
|
};
|
||||||
|
|
||||||
typedef struct _f_lldiv_t {
|
struct lldiv_t {
|
||||||
long long quot;
|
long long quot;
|
||||||
long long rem;
|
long long rem;
|
||||||
} lldiv_t;
|
};
|
||||||
|
|
||||||
__attribute__((__noreturn__))
|
__attribute__((__noreturn__))
|
||||||
void abort(void);
|
void abort(void);
|
||||||
|
@ -49,9 +49,9 @@ void abort(void);
|
||||||
void srand(unsigned int);
|
void srand(unsigned int);
|
||||||
int rand(void);
|
int rand(void);
|
||||||
|
|
||||||
div_t div(int, int);
|
struct div_t div(int, int);
|
||||||
ldiv_t ldiv(long, long);
|
struct ldiv_t ldiv(long, long);
|
||||||
lldiv_t lldiv(long long, long long);
|
struct lldiv_t lldiv(long long, long long);
|
||||||
|
|
||||||
int abs(int);
|
int abs(int);
|
||||||
long labs(long);
|
long labs(long);
|
||||||
|
|
Loading…
Reference in a new issue