Skip to content
Snippets Groups Projects
Commit f41d2475 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Remove now-unneeded str2pas() function

Functionality replaced with Pascal::String
parent 0a572ad2
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2875 passed
......@@ -40,18 +40,6 @@ int sbbs_t::xtrn_sec(const char* section)
const char *hungupstr="\1n\1h%s\1n hung up on \1h%s\1n %s\r\n";
/****************************************************************************/
/* Convert C string to pascal string */
/****************************************************************************/
void str2pas(const char *instr, char *outstr)
{
int i;
outstr[0]=(char)strlen(instr);
for(i=0;i<outstr[0];i++)
outstr[i+1]=instr[i];
}
/****************************************************************************/
/* Convert from unix time (seconds since 1/70) to julian (days since 1900) */
/****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment