Add declaration to eliminate -Wmissing-prototypes warning
This commit is contained in:
parent
9a50fd2d05
commit
0b64c636db
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288016
@ -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