mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
abc150085f
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.
24 lines
408 B
C
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
|