X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fdbz_strings.c;h=79d2380eb224fcce01a5cce1659e5298080fc7f9;hp=436bf8c151b72c145b115bfbb223be7fa37bebb8;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=65b5512d92a8b13973ae65201b18922b856328e5 diff --git a/test_src/dbz_strings.c b/test_src/dbz_strings.c index 436bf8c..79d2380 100644 --- a/test_src/dbz_strings.c +++ b/test_src/dbz_strings.c @@ -3,7 +3,7 @@ * This file is part of AnonAccess, an access system which can be used * to open door or doing other things with an anonymity featured * account managment. - * Copyright (C) 2006, 2007, 2008, 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 @@ -22,7 +22,7 @@ /* * author: Daniel Otte - * email: daniel.otte@rub.de + * email: bg@nerilex.org * license: GPLv3 * * */ @@ -33,7 +33,7 @@ /******************************************************************************/ -uint8_t dbz_strcount(const char* str){ +uint8_t dbz_strcount(const char *str){ uint8_t ret=1; if(*str=='\0' && *(str+1)=='\0') return 0; @@ -48,7 +48,7 @@ uint8_t dbz_strcount(const char* str){ /******************************************************************************/ -void dbz_splitup(char* dbzstr, char** strings){ +void dbz_splitup(char *dbzstr, char** strings){ if(*dbzstr=='\0' && *(dbzstr+1)=='\0') return; *strings++ = dbzstr; @@ -78,7 +78,7 @@ uint8_t dbz_strcount_P(PGM_P str){ /******************************************************************************/ -void dbz_splitup_P(PGM_P dbzstr, PGM_P* strings){ +void dbz_splitup_P(PGM_P dbzstr, PGM_P *strings){ if(pgm_read_byte(dbzstr)=='\0' && pgm_read_byte(dbzstr+1)=='\0') return; *strings++ = dbzstr;