Changeset 364


Ignore:
Timestamp:
Mar 11, 2009, 3:31:55 AM (9 years ago)
Author:
khorben
Message:

Merge from upstream

Location:
trunk/System/Sources/libc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/System/Sources/libc/src/stdlib.c

    r346 r364  
    1 /* $Id: stdlib.c,v 1.47 2009/02/19 21:24:36 khorben Exp $ */
     1/* $Id: stdlib.c,v 1.49 2009/03/02 00:25:25 khorben Exp $ */
    22/* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */
    33/* This file is part of DeforaOS System libc */
     
    7070typedef void (*AtexitCallback)(void);
    7171static int _atexit_do(AtexitFunction function, void (*callback)(void));
     72
    7273int atexit(void (*function)(void))
    7374{
  • trunk/System/Sources/libc/src/syscalls.S

    r330 r364  
    1 /* $Id: syscalls.S,v 1.60 2009/02/19 21:50:09 khorben Exp $ */
     1/* $Id: syscalls.S,v 1.61 2009/03/06 12:31:55 khorben Exp $ */
    22/* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */
    33/* This file is part of DeforaOS System libc */
     
    1919
    2020
     21/* FreeBSD */
     22#if defined(__FreeBSD__)
     23# include "kernel/freebsd/common.h"
     24# if defined(__amd64__)
     25#  include "kernel/freebsd/amd64/syscalls.S"
     26# elif defined(__i386__)
     27#  include "kernel/freebsd/i386/syscalls.S"
     28# else /* !amd64 && !i386 */
     29#  warning Unsupported FreeBSD architecture
     30# endif
     31
    2132/* Linux */
    22 #if defined(__linux__)
     33#elif defined(__linux__)
    2334# include "kernel/linux/common.h"
    2435# if defined(__arm__)
Note: See TracChangeset for help on using the changeset viewer.