]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/string-extras-asm.S
global style change (now * is attached to identifier not to type)
[avr-crypto-lib.git] / test_src / string-extras-asm.S
index 256ecd7a3279bd37965630fcd6a51a34dcabbcb0..92467919bd41c471684d3970653e0407f62dfc5e 100644 (file)
@@ -21,7 +21,7 @@
 
 /******************************************************************************/
 /*
-       uint16_t stridentcnt_P(chara, PGM_P b){
+       uint16_t stridentcnt_P(char *a, PGM_P b){
                uint16_t i=0;
                char c;
                for(;;){
@@ -55,7 +55,7 @@ stridentcnt_P:
 
 /******************************************************************************/
 /*
-       uint16_t firstword_length(chars){
+       uint16_t firstword_length(char *s){
                uint16_t ret=0;
                while(isgraph(*s++))
                        ret++;
@@ -91,10 +91,10 @@ firstword_length:
 
 /******************************************************************************/
 /*
-       char* strstrip(char* str){
+       char *strstrip(char *str){
                if(!str)
                        return str;
-               charendptr;
+               char *endptr;
                while(*str && (*str==' ' || *str=='\t'))
                        ++str;
                endptr=str;