修复mico-sdk错误

This commit is contained in:
nhkefus
2025-03-11 15:54:45 +08:00
parent 3422912129
commit 2ccb892a1c
2152 changed files with 664341 additions and 702636 deletions

View File

@@ -1,27 +1,27 @@
/*******************
*
* Copyright 1998-2010 IAR Systems AB.
*
* This is a template implementation of the "__close" function used by
* the standard library. Replace it with a system-specific
* implementation.
*
* The "__close" function should close the file corresponding to
* "handle". It should return 0 on success and nonzero on failure.
*
********************/
#include <yfuns.h>
_STD_BEGIN
#pragma module_name = "?__close"
#pragma diag_suppress = Pe826
int __close(int handle)
{
return 0;
}
_STD_END
/*******************
*
* Copyright 1998-2010 IAR Systems AB.
*
* This is a template implementation of the "__close" function used by
* the standard library. Replace it with a system-specific
* implementation.
*
* The "__close" function should close the file corresponding to
* "handle". It should return 0 on success and nonzero on failure.
*
********************/
#include <yfuns.h>
_STD_BEGIN
#pragma module_name = "?__close"
#pragma diag_suppress = Pe826
int __close(int handle)
{
return 0;
}
_STD_END