source:
spec/trunk/SPECS/libc/libc.patch@
1566
Last change on this file since 1566 was 1092, checked in by , 8 years ago | |
---|---|
File size: 3.5 KB |
-
include/stdlib.h
diff -ur -x libtool -x '*.o' -x '*.lo' -x '*.la*' -x configure.lineno -x config.status -x config.log -x '*.Plo' -x '*.Po' -x .svn -x .git usr0/include/stdlib.h usr/include/stdlib.h
old new 384 384 int mkdir(const char *, mode_t); 385 385 void perror (const char *); 386 386 int rmdir (const char *); 387 void *sbrk(intptr_t);387 //void *sbrk(intptr_t); 388 388 unsigned sleep (unsigned); 389 389 long ulimit (int, ...); 390 390 … … 413 413 int _mkdir (const char *, long); 414 414 int _putenv (const char *); 415 415 int _rmdir (const char *); 416 void *_sbrk(intptr_t);416 //void *_sbrk(intptr_t); 417 417 unsigned _sleep (unsigned); 418 418 void _swab (const void *, void *, size_t); 419 419 long _ulimit (int, ...); -
include/sys/mman.h
diff -ur -x libtool -x '*.o' -x '*.lo' -x '*.la*' -x configure.lineno -x config.status -x config.log -x '*.Plo' -x '*.Po' -x .svn -x .git usr0/include/sys/mman.h usr/include/sys/mman.h
old new 59 59 #define PROT_WRITE 0x02 /* pages can be written */ 60 60 #define PROT_EXEC 0x04 /* pages can be executed */ 61 61 62 #if 0 /*bird */62 #if 1 /* yd, bird */ 63 63 /* 64 64 * Flags contain sharing type and options. 65 65 * Sharing types; choose one. … … 183 183 #ifndef _MMAP_DECLARED 184 184 #define _MMAP_DECLARED 185 185 /** @todo void * mmap(void *, size_t, int, int, int, off_t); */ 186 void * mmap(void *, size_t, int, int, int, off_t); 186 187 #endif 187 188 int mprotect(const void *, size_t, int); 188 189 /** @todo int msync(void *, size_t, int); */ 190 int msync(void *, size_t, int); 189 191 /** @todo int munlock(const void *, size_t); */ 190 192 /** @todo int munmap(void *, size_t); */ 193 int munmap(void *, size_t); 191 194 #if __POSIX_VISIBLE >= 200112 192 195 /** @todo int posix_madvise(void *, size_t, int); */ 193 196 #endif -
include/386/builtin.h
diff -ur -x libtool -x '*.o' -x '*.lo' -x '*.la*' -x configure.lineno -x config.status -x config.log -x '*.Plo' -x '*.Po' -x .svn -x .git usr0/include/386/builtin.h usr/include/386/builtin.h
old new 15 15 static __inline__ signed char __cxchg (__volatile__ signed char *p, 16 16 signed char v) 17 17 { 18 __asm__ __volatile__ ("xchgb %0, %1" : "=m"(*p), "=r"(v) : "1"(v)); 18 //__asm__ __volatile__ ("xchgb %0, %1" : "=m"(*p), "=r"(v) : "1"(v)); 19 __asm__ __volatile__ ("xchgb %0, %1" : "=m"(*p), "=q"(v) : "1"(v)); 19 20 return v; 20 21 } 21 22 -
include/stddef.h
diff -ur -x libtool -x '*.o' -x '*.lo' -x '*.la*' -x configure.lineno -x config.status -x config.log -x '*.Plo' -x '*.Po' -x .svn -x .git usr0/include/stddef.h usr/include/stddef.h
old new 85 85 #endif 86 86 /* bird: EMX - end */ 87 87 88 #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) \ 89 || (defined(__cplusplus) && __cplusplus >= 201103L) 90 #ifndef _GCC_MAX_ALIGN_T 91 #define _GCC_MAX_ALIGN_T 92 /* Type whose alignment is supported in every context and is at least 93 as great as that of any standard type not using alignment 94 specifiers. */ 95 typedef struct { 96 long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); 97 long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); 98 } max_align_t; 99 #endif 100 #endif /* C11 or C++11. */ 101 88 102 #endif /* _STDDEF_H_ */
Note:
See TracBrowser
for help on using the repository browser.