]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/string-extras-asm.S
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / test_src / string-extras-asm.S
index 256ecd7a3279bd37965630fcd6a51a34dcabbcb0..495a50b9e10a35af62bd32c14f3d2186ce232043 100644 (file)
@@ -1,7 +1,7 @@
 /* string-extras-asm.S */
 /*
     This file is part of the AVR-Huffman.
-    Copyright (C) 2009  Daniel Otte (daniel.otte@rub.de)
+    Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
 
     This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -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;