Skip to content

Commit

Permalink
CHG: moved to header file. common.h has RAMFUNC definition
Browse files Browse the repository at this point in the history
  • Loading branch information
iceman1001 committed Jan 21, 2017
1 parent 3c345a4 commit 897a14c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions armsrc/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
//-----------------------------------------------------------------------------
// Common string.h functions
//-----------------------------------------------------------------------------

#include "string.h"
#include <stdint.h>

void *memcpy(void *dest, const void *src, int len)
{
Expand Down
6 changes: 2 additions & 4 deletions armsrc/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
#ifndef __STRING_H
#define __STRING_H

#include <stdint.h>
#include <util.h>
#include <common.h>

int strlen(const char *str);
RAMFUNC void *memcpy(void *dest, const void *src, int len);
Expand All @@ -25,5 +24,4 @@ char *strcat(char *dest, const char *src);
void strreverse(char s[]);
void itoa(int n, char s[]);


#endif /* __STRING_H */
#endif /* __STRING_H */

0 comments on commit 897a14c

Please sign in to comment.