Skip to content

Commit afb47d1

Browse files
kennethmyhragunnarbeutner
authored andcommitted
LibC: Add stub for iswprint
Without the declaration of iswprint libarchive will not compile.
1 parent bab83ec commit afb47d1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Userland/Libraries/LibC/wctype.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,10 @@ int iswctype(wint_t, wctype_t)
2121
dbgln("FIXME: Implement iswctype()");
2222
TODO();
2323
}
24+
25+
int iswprint(wint_t)
26+
{
27+
dbgln("FIXME: Implement iswprint()");
28+
TODO();
29+
}
2430
}

Userland/Libraries/LibC/wctype.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ __BEGIN_DECLS
1212

1313
wctype_t wctype(const char* name);
1414
int iswctype(wint_t wc, wctype_t desc);
15+
int iswprint(wint_t wc);
1516

1617
__END_DECLS

0 commit comments

Comments
 (0)