mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
0d748ad58e
This change fixes Cosmopolitan so it has fewer opinions about compiler warnings. The whole repository had to be cleaned up to be buildable in -Werror -Wall mode. This lets us benefit from things like strict const checking. Some actual bugs might have been caught too.
22 lines
652 B
C
22 lines
652 B
C
#ifndef COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
|
#define COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
#ifdef _COSMO_SOURCE
|
|
COSMOPOLITAN_C_START_
|
|
|
|
#define sleb64 __sleb64
|
|
#define zleb64 __zleb64
|
|
#define uleb64 __uleb64
|
|
#define unzleb64 __unzleb64
|
|
#define unuleb64 __unuleb64
|
|
|
|
char *sleb64(char *, int64_t);
|
|
char *zleb64(char[hasatleast 10], int64_t);
|
|
char *uleb64(char[hasatleast 10], uint64_t);
|
|
int unzleb64(const char *, size_t, int64_t *);
|
|
int unuleb64(const char *, size_t, uint64_t *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* _COSMO_SOURCE */
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_FMT_LEB128_H_ */
|