ladybird/Userland/Libraries/LibC/stdio_ext.h
Emily Trau abc150085f LibC: Add missing sys/cdefs.h include
Some header files use __BEGIN_DECLS without including sys/cdefs.h.
This causes issues for C code that compiles against these headers,
which may occur with Ports.
2022-08-23 19:07:12 +01:00

24 lines
408 B
C

/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <stdio.h>
#include <sys/cdefs.h>
__BEGIN_DECLS
size_t __fpending(FILE*);
int __freading(FILE*);
int __fwriting(FILE*);
void __fpurge(FILE*);
size_t __freadahead(FILE*);
char const* __freadptr(FILE*, size_t*);
void __freadptrinc(FILE*, size_t);
void __fseterr(FILE*);
__END_DECLS