Skip to content

Commit

Permalink
remove mistakenly added "unsafe" in c/c++ header files
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkegz committed Dec 21, 2024
1 parent 8b7b5c7 commit 3b53fb4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ulib/axlibc/c/printf.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#ifdef __cplusplus
#include <cstdarg>
#include <cstddef>
unsafe extern "C" {
extern "C" {
#else
#include <stdarg.h>
#include <stddef.h>
Expand Down
2 changes: 1 addition & 1 deletion ulib/axlibc/include/dlfcn.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _DLFCN_H

#ifdef __cplusplus
unsafe extern "C" {
extern "C" {
#endif

#include <features.h>
Expand Down
2 changes: 1 addition & 1 deletion ulib/axlibc/include/fnmatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _FNMATCH_H

#ifdef __cplusplus
unsafe extern "C" {
extern "C" {
#endif

#define FNM_PATHNAME 0x1
Expand Down
2 changes: 1 addition & 1 deletion ulib/axlibc/include/libgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _LIBGEN_H

#ifdef __cplusplus
unsafe extern "C" {
extern "C" {
#endif

char *dirname(char *);
Expand Down
2 changes: 1 addition & 1 deletion ulib/axlibc/include/sys/epoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _SYS_EPOLL_H

#ifdef __cplusplus
unsafe extern "C" {
extern "C" {
#endif

#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion ulib/axlibc/include/sys/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _SYS_FILE_H

#ifdef __cplusplus
unsafe extern "C" {
extern "C" {
#endif

#define LOCK_SH 1
Expand Down
2 changes: 1 addition & 1 deletion ulib/axlibc/include/sys/utsname.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _SYS_UTSNAME_H

#ifdef __cplusplus
unsafe extern "C" {
extern "C" {
#endif

struct utsname {
Expand Down

0 comments on commit 3b53fb4

Please sign in to comment.