libc: ANSIfy div / ldiv function definitions

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2022-07-28 10:17:33 -04:00
parent d623883d11
commit a8a43edc0f
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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;