Add declaration to eliminate -Wmissing-prototypes warning
This commit is contained in:
parent
f7aca4b673
commit
101e50ce2f
@ -41,6 +41,8 @@ __FBSDID("$FreeBSD$");
|
||||
__weak_reference(__creat, creat);
|
||||
__weak_reference(__creat, _creat);
|
||||
|
||||
int __creat(const char *path, mode_t mode);
|
||||
|
||||
#pragma weak creat
|
||||
int
|
||||
__creat(const char *path, mode_t mode)
|
||||
|
Loading…
Reference in New Issue
Block a user