CHG: moved to header file. common.h has RAMFUNC definition
This commit is contained in:
@@ -7,9 +7,7 @@
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Common string.h functions
|
// Common string.h functions
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
void *memcpy(void *dest, const void *src, int len)
|
void *memcpy(void *dest, const void *src, int len)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -12,8 +12,7 @@
|
|||||||
#ifndef __STRING_H
|
#ifndef __STRING_H
|
||||||
#define __STRING_H
|
#define __STRING_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <common.h>
|
||||||
#include <util.h>
|
|
||||||
|
|
||||||
int strlen(const char *str);
|
int strlen(const char *str);
|
||||||
RAMFUNC void *memcpy(void *dest, const void *src, int len);
|
RAMFUNC void *memcpy(void *dest, const void *src, int len);
|
||||||
@@ -25,5 +24,4 @@ char *strcat(char *dest, const char *src);
|
|||||||
void strreverse(char s[]);
|
void strreverse(char s[]);
|
||||||
void itoa(int n, char s[]);
|
void itoa(int n, char s[]);
|
||||||
|
|
||||||
|
#endif /* __STRING_H */
|
||||||
#endif /* __STRING_H */
|
|
||||||
Reference in New Issue
Block a user