mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix build break
This commit is contained in:
parent
2bad436abf
commit
be3e109309
2 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/o.h"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
|
||||
static const char *fixpathname(const char *pathname, int flags) {
|
||||
if ((flags & O_ACCMODE) == O_RDONLY && strcmp(pathname, "-") == 0) {
|
||||
|
|
|
@ -67,7 +67,7 @@ int putchar(int);
|
|||
int puts(const char *);
|
||||
ssize_t getline(char **, size_t *, FILE *) paramsnonnull();
|
||||
ssize_t getdelim(char **, size_t *, int, FILE *) paramsnonnull();
|
||||
FILE *fopen(const char *, const char *) paramsnonnull() dontdiscard;
|
||||
FILE *fopen(const char *, const char *) paramsnonnull((2)) dontdiscard;
|
||||
FILE *fdopen(int, const char *) paramsnonnull() dontdiscard;
|
||||
FILE *fmemopen(void *, size_t, const char *) paramsnonnull((3)) dontdiscard;
|
||||
FILE *freopen(const char *, const char *, FILE *) paramsnonnull((2, 3));
|
||||
|
|
Loading…
Reference in a new issue