mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-06 08:56:22 +00:00
Remove warnings from amalgamation header
This commit is contained in:
parent
283fd9e590
commit
fcbf64b906
4 changed files with 5 additions and 8 deletions
|
@ -23,7 +23,7 @@ void *valloc(size_t) attributeallocsize((1)) vallocesque;
|
||||||
void *pvalloc(size_t) vallocesque;
|
void *pvalloc(size_t) vallocesque;
|
||||||
char *strdup(const char *) paramsnonnull() mallocesque;
|
char *strdup(const char *) paramsnonnull() mallocesque;
|
||||||
char *strndup(const char *, size_t) paramsnonnull() mallocesque;
|
char *strndup(const char *, size_t) paramsnonnull() mallocesque;
|
||||||
void *aligned_alloc(size_t, size_t) attributeallocsize((1))
|
void *aligned_alloc(size_t, size_t) attributeallocalign((1))
|
||||||
attributeallocsize((2)) returnspointerwithnoaliases libcesque dontdiscard;
|
attributeallocsize((2)) returnspointerwithnoaliases libcesque dontdiscard;
|
||||||
int posix_memalign(void **, size_t, size_t);
|
int posix_memalign(void **, size_t, size_t);
|
||||||
bool __grow(void *, size_t *, size_t, size_t) paramsnonnull((1, 2)) libcesque;
|
bool __grow(void *, size_t *, size_t, size_t) paramsnonnull((1, 2)) libcesque;
|
||||||
|
|
|
@ -52,8 +52,4 @@
|
||||||
#define _POSIX2_LINE_MAX 2048
|
#define _POSIX2_LINE_MAX 2048
|
||||||
#define _POSIX2_RE_DUP_MAX 255
|
#define _POSIX2_RE_DUP_MAX 255
|
||||||
|
|
||||||
#define _XOPEN_IOV_MAX 16
|
|
||||||
#define _XOPEN_NAME_MAX 255
|
|
||||||
#define _XOPEN_PATH_MAX 1024
|
|
||||||
|
|
||||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS__POSIX_H_ */
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS__POSIX_H_ */
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_
|
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_
|
||||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_
|
||||||
|
|
||||||
#define _XOPEN_IOV_MAX 0x10
|
#define _XOPEN_IOV_MAX 16
|
||||||
#define _XOPEN_ENH_I18N 1
|
#define _XOPEN_ENH_I18N 1
|
||||||
#define _XOPEN_UNIX 1
|
#define _XOPEN_UNIX 1
|
||||||
#define _XOPEN_NAME_MAX 63
|
#define _XOPEN_NAME_MAX 63
|
||||||
#define _XOPEN_PATH_MAX 255
|
#define _XOPEN_PATH_MAX 1024
|
||||||
#define _XOPEN_VERSION 700
|
|
||||||
#define _XOPEN_SOURCE 700
|
#define _XOPEN_SOURCE 700
|
||||||
|
|
||||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_ */
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_ */
|
||||||
|
|
|
@ -7,6 +7,7 @@ o/$(MODE)/test/libc/release/cosmopolitan.zip: \
|
||||||
o/$(MODE)/ape/ape.lds \
|
o/$(MODE)/ape/ape.lds \
|
||||||
o/$(MODE)/libc/crt/crt.o \
|
o/$(MODE)/libc/crt/crt.o \
|
||||||
o/$(MODE)/ape/ape.o \
|
o/$(MODE)/ape/ape.o \
|
||||||
|
o/$(MODE)/ape/ape-copy-self.o \
|
||||||
o/$(MODE)/ape/ape-no-modify-self.o \
|
o/$(MODE)/ape/ape-no-modify-self.o \
|
||||||
o/$(MODE)/cosmopolitan.a
|
o/$(MODE)/cosmopolitan.a
|
||||||
mkdir -p $(@D)
|
mkdir -p $(@D)
|
||||||
|
@ -15,6 +16,7 @@ o/$(MODE)/test/libc/release/cosmopolitan.zip: \
|
||||||
o/$(MODE)/ape/ape.lds \
|
o/$(MODE)/ape/ape.lds \
|
||||||
o/$(MODE)/libc/crt/crt.o \
|
o/$(MODE)/libc/crt/crt.o \
|
||||||
o/$(MODE)/ape/ape.o \
|
o/$(MODE)/ape/ape.o \
|
||||||
|
o/$(MODE)/ape/ape-copy-self.o \
|
||||||
o/$(MODE)/ape/ape-no-modify-self.o \
|
o/$(MODE)/ape/ape-no-modify-self.o \
|
||||||
o/$(MODE)/cosmopolitan.a
|
o/$(MODE)/cosmopolitan.a
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue