Made stdlib.h almost compatible to BeOS.

Removed deprecated strtoq() functions (they are not even part of BeOS, so
why should we include this cruft?).
Added prototypes for llabs(), and lldiv() - added lldiv_t to div_t.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1661 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2002-10-25 22:02:50 +00:00
parent 9a43926970
commit 617c98ba68
2 changed files with 125 additions and 55 deletions
+8
View File
@@ -1,5 +1,8 @@
#ifndef _DIV_T_H_
#define _DIV_T_H_
/*
** Distributed under the terms of the OpenBeOS License.
*/
typedef struct {
int quot;
@@ -11,4 +14,9 @@ typedef struct {
long rem;
} ldiv_t;
typedef struct {
long long quot;
long long rem;
} lldiv_t;
#endif /* _DIV_T_H_ */