Changeset 951


Ignore:
Timestamp:
Jan 11, 2004, 6:41:29 PM (22 years ago)
Author:
bird
Message:

Initial porting.

Location:
trunk/src/emx/src/lib/bsd/stdlib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/bsd/stdlib/imaxabs.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r950 r951  
    2525 */
    2626
     27#include "namespace.h" /*bird*/
    2728#include <sys/cdefs.h>
    2829__FBSDID("$FreeBSD: src/lib/libc/stdlib/imaxabs.c,v 1.1 2001/11/15 02:05:03 mike Exp $");
     
    3132
    3233intmax_t
    33 imaxabs(intmax_t j)
     34_STD(imaxabs)(intmax_t j)
    3435{
    3536        return (j < 0 ? -j : j);
  • trunk/src/emx/src/lib/bsd/stdlib/imaxdiv.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r950 r951  
    2525 */
    2626
     27#include "namespace.h" /*bird*/
    2728#include <sys/cdefs.h>
    2829__FBSDID("$FreeBSD: src/lib/libc/stdlib/imaxdiv.c,v 1.1 2001/11/15 02:05:03 mike Exp $");
     
    3233/* See comments in div.c for implementation details. */
    3334imaxdiv_t
    34 imaxdiv(intmax_t numer, intmax_t denom)
     35_STD(imaxdiv)(intmax_t numer, intmax_t denom)
    3536{
    3637        imaxdiv_t retval;
  • trunk/src/emx/src/lib/bsd/stdlib/strtoimax.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r950 r951  
    3535static char sccsid[] = "from @(#)strtol.c       8.1 (Berkeley) 6/4/93";
    3636#endif /* LIBC_SCCS and not lint */
     37#include "namespace.h" /*bird*/
    3738#include <sys/cdefs.h>
    3839__FBSDID("$FreeBSD: src/lib/libc/stdlib/strtoimax.c,v 1.9 2003/01/01 18:48:43 schweikh Exp $");
     
    5051 */
    5152intmax_t
    52 strtoimax(const char * __restrict nptr, char ** __restrict endptr, int base)
     53_STD(strtoimax)(const char * __restrict nptr, char ** __restrict endptr, int base)
    5354{
    5455        const char *s;
  • trunk/src/emx/src/lib/bsd/stdlib/strtoumax.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r950 r951  
    3535static char sccsid[] = "from @(#)strtoul.c      8.1 (Berkeley) 6/4/93";
    3636#endif /* LIBC_SCCS and not lint */
     37#include "namespace.h" /*bird*/
    3738#include <sys/cdefs.h>
    3839__FBSDID("$FreeBSD: src/lib/libc/stdlib/strtoumax.c,v 1.8 2002/09/06 11:23:59 tjr Exp $");
     
    5051 */
    5152uintmax_t
    52 strtoumax(const char * __restrict nptr, char ** __restrict endptr, int base)
     53_STD(strtoumax)(const char * __restrict nptr, char ** __restrict endptr, int base)
    5354{
    5455        const char *s;
Note: See TracChangeset for help on using the changeset viewer.