]> hackdaworld.org Git - my-code/arm.git/blobdiff - betty/functions.c
also forgot to add the sinus waveform samples
[my-code/arm.git] / betty / functions.c
index 79612b389c611a93b9d0d664048b2ed98afcfca0..9e12c868365a6767322b619209095cadbcae4ca9 100644 (file)
@@ -52,7 +52,7 @@ int strncpy(char *d,char *s,int n) {
        return 0;
 }
 
-int mset(u8 *d,u8 v,int n) {
+int memset(u8 *d,int v,int n) {
 
        while(n)
                d[--n]=v;
@@ -60,7 +60,7 @@ int mset(u8 *d,u8 v,int n) {
        return 0;
 }
 
-int mcpy(u8 *d,u8 *s,int n) {
+int memcpy(u8 *d,u8 *s,int n) {
 
        while(n--)
                *d++=*s++;