From eaf0ea8324f910b86686dc18382918936268d523 Mon Sep 17 00:00:00 2001 From: celso Date: Sat, 10 Dec 2022 22:38:46 -0300 Subject: [PATCH] finished adding description of functions to interface --- src/homemade_speedstep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/homemade_speedstep.h b/src/homemade_speedstep.h index cc21863..e92c41f 100644 --- a/src/homemade_speedstep.h +++ b/src/homemade_speedstep.h @@ -28,8 +28,8 @@ 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 countblanks(char line[]); /* */ -void newlinetonullbyte(char string[]); /* */ +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 */ int changefreq(int threads, char* step){ int i;