From de9398f5644a64fc9a79594752113fc97c193121 Mon Sep 17 00:00:00 2001 From: celso Date: Thu, 20 Jul 2023 13:24:03 -0300 Subject: [PATCH] removed unnecesary asterisk --- src/homemade_speedstep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/homemade_speedstep.h b/src/homemade_speedstep.h index e92c41f..bcbd8a2 100644 --- a/src/homemade_speedstep.h +++ b/src/homemade_speedstep.h @@ -27,7 +27,7 @@ int getfilec(FILE *file, char arr[]); /* fills 'arr[]' with every character on ' int powerof(int base, int exponent); /* returns power of base to the exponent */ int stringtoint(char number[], int length); /* returns an int of 'length' length from the string 'number', make sure string only has numbers in it or results will not be as expected */ int stringlength(char string[]); /* no security checks, make sure string is null terminated */ -int splitstr(char** dest, char line[], int index1, int index2); /* add a substring from 'line' to 'dest'. index1 is offset of characters read from 'line' and index2 is the place in 'dest' to store the new char, returns int with new offset of characters read from 'line' + 1 **/ +int splitstr(char** dest, char line[], int index1, int index2); /* add a substring from 'line' to 'dest'. index1 is offset of characters read from 'line' and index2 is the place in 'dest' to store the new char, returns int with new offset of characters read from 'line' + 1 */ int countblanks(char line[]); /* return ammount of blanks in string */ void newlinetonullbyte(char string[]); /* converts newline to nullbyte in a string, check that you only have newlines after the content you care about */