X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCutil.h;h=d8956d49322aa078b6daed1a9f4f3b7eb00b0eaf;hb=90bdb43b342189fcb94a398855d43f3f47f96738;hp=fbfc7a0449607ecd2f2ec0f3d116b96de5380124;hpb=8518bef327102806ce21008f3f668320f956a8e3;p=fw%2Fsdcc diff --git a/src/SDCCutil.h b/src/SDCCutil.h index fbfc7a04..d8956d49 100644 --- a/src/SDCCutil.h +++ b/src/SDCCutil.h @@ -62,7 +62,7 @@ void setMainValue (const char *pname, const char *pvalue); void populateMainValues (const char **ppin); -void buildCmdLine2 (char *pbuffer, const char *pcmd, size_t len); +void buildCmdLine2 (char *pbuffer, size_t len, const char *pcmd, ...); /** Returns true if sz starts with the string given in key. */ @@ -85,6 +85,9 @@ char *strncpyz(char *dest, const char *src, size_t n); */ char *strncatz(char *dest, const char *src, size_t n); +/* return SDCC build number */ +const char *getBuildNumber(void); + /* snprintf, by hook or by crook. */ size_t SDCCsnprintf(char *, size_t, const char *, ...);