libc: ANSIfy div / ldiv function definitions
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d623883d11
commit
a8a43edc0f
@ -41,8 +41,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <stdlib.h> /* div_t */
|
||||
|
||||
div_t
|
||||
div(num, denom)
|
||||
int num, denom;
|
||||
div(int num, int denom)
|
||||
{
|
||||
div_t r;
|
||||
|
||||
|
@ -41,8 +41,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <stdlib.h> /* ldiv_t */
|
||||
|
||||
ldiv_t
|
||||
ldiv(num, denom)
|
||||
long num, denom;
|
||||
ldiv(long num, long denom)
|
||||
{
|
||||
ldiv_t r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user