remove unnecessary includes inside hanekawa
This commit is contained in:
parent
37f4243c61
commit
1bff9d0f7c
@ -16,8 +16,6 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <hal.h>
|
||||
|
||||
int abs(int x) {
|
||||
return x >= 0 ? x : -x;
|
||||
}
|
||||
|
@ -16,10 +16,6 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
|
||||
char* stpcpy(char* restrict d, const char* s){
|
||||
for(;(*d=*s); s++, d++);
|
||||
return d;
|
||||
|
@ -16,8 +16,6 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
char* strcpy(char* restrict dest, const char* src) {
|
||||
stpcpy(dest, src);
|
||||
return dest;
|
||||
|
Loading…
Reference in New Issue
Block a user