Changeset 1604


Ignore:
Timestamp:
Nov 4, 2004, 6:22:26 AM (21 years ago)
Author:
bird
Message:

Fixed warnings.

Location:
trunk/src/emx
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/emx/syscalls.h

    • Property cvs2svn:cvs-rev changed from 1.13 to 1.14
    r1603 r1604  
    153153int __findfirst (__const__ char *name, int attr, struct _find *fp);
    154154int __findnext (struct _find *fp);
    155 //dead int __fork (void);
     155int __fork (void);
    156156//dead int __fstat (int handle, struct stat *buffer);
    157157int __fsync (int handle);
     
    179179//dead int __getsockopt (int handle, int level, int optname, void *optval,
    180180//dead     int *poptlen);
    181 //dead int __imphandle (int handle);
     181int __imphandle (int handle);
    182182//dead int __impsockhandle (int handle, int flags);
    183183int __ioctl1 (int handle, int code);
     
    205205void *__sbrk (int incr);
    206206void __scrsize (int *dst);
    207 //dead int __select(int nfds, struct fd_set *readfds, struct fd_set *writefds,
    208 //dead              struct fd_set *exceptfds, struct timeval *tv);
     207int __select(int nfds, struct fd_set *readfds, struct fd_set *writefds,
     208             struct fd_set *exceptfds, struct timeval *tv);
    209209//dead int __send (int handle, __const__ void *buf, int len, unsigned flags);
    210210//dead int __sendto (__const__ struct _sendto *args);
  • trunk/src/emx/src/include/libc-alias.h

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r1603 r1604  
    3636
    3737#ifdef TIMEBOMB
     38void __libc_Timebomb(void);
    3839asm(".stabs  \"___libc_Timebomb\",1,0,0,0");
    3940#endif
  • trunk/src/emx/src/lib/io/freopen.c

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1603 r1604  
    33#include "libc-alias.h"
    44#include <stdio.h>
     5#include <io.h>
     6#include <string.h>
    57#include <share.h>
    68#include <sys/builtin.h>        /* For <sys/fmutex.h> */
  • trunk/src/emx/src/lib/malloc/memalign.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1603 r1604  
    2929*******************************************************************************/
    3030#include "libc-alias.h"
    31 #include <malloc.h>
     31#define _GNU_SOURCE
    3232#include <stdlib.h>
    3333#include <sys/param.h>
  • trunk/src/emx/src/lib/malloc/valloc.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1603 r1604  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
     30#define __USE_GNU
    3031#include "libc-alias.h"
    3132#include <stdlib.h>
     33#include <malloc.h>
    3234#include <sys/param.h>
    3335
  • trunk/src/emx/src/lib/misc/chdir.c

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r1603 r1604  
    2929*******************************************************************************/
    3030#include "libc-alias.h"
     31#include <stdlib.h>
     32#include <direct.h>
    3133#include <errno.h>
    3234#include <InnoTekLIBC/backend.h>
  • trunk/src/emx/src/lib/misc/rmdir.c

    • Property cvs2svn:cvs-rev changed from 1.5 to 1.6
    r1603 r1604  
    3030#include "libc-alias.h"
    3131#include <errno.h>
     32#include <stdlib.h>
     33#include <direct.h>
    3234#include <InnoTekLIBC/backend.h>
    3335#define __LIBC_LOG_GROUP __LIBC_LOG_GRP_MISC
  • trunk/src/emx/src/lib/sys/fs.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1603 r1604  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define _GNU_SOURCE
    3132#include "libc-alias.h"
    3233#define INCL_FSMACROS
     
    3536#include <os2emx.h>
    3637#include "fs.h"
    37 #define __USE_GNU
    3838#include <stddef.h>
    3939#include <string.h>
  • trunk/src/emx/src/lib/sys/logstrict.c

    • Property cvs2svn:cvs-rev changed from 1.16 to 1.17
    r1603 r1604  
    4949*   Header Files                                                               *
    5050*******************************************************************************/
     51#define _GNU_SOURCE                     /* strnlen() */
    5152#include <InnoTekLIBC/logstrict.h>
    52 #define __USE_GNU                       /* strnlen() */
    5353#include <string.h>
    5454#include <stdio.h>
  • trunk/src/emx/src/lib/sys/timebomb.c

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1603 r1604  
    3434#ifdef TIMEBOMB
    3535
    36 void __libc_Timebomb(void);
    37 
    3836_CRT_INIT1(__libc_Timebomb)
    3937
Note: See TracChangeset for help on using the changeset viewer.