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

struct declarations don't need the 'struct' keyword in C++

parent 599b83c6
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ int sbbs_t::show_atcode(const char *instr, JSObject* obj) ...@@ -114,7 +114,7 @@ int sbbs_t::show_atcode(const char *instr, JSObject* obj)
{ {
char str[128],str2[128],*tp,*sp,*p; char str[128],str2[128],*tp,*sp,*p;
int len; int len;
struct atcode_format fmt; atcode_format fmt;
int pmode = 0; int pmode = 0;
const char *cp; const char *cp;
...@@ -243,7 +243,7 @@ const char* sbbs_t::formatted_atcode(const char* sp, char* str, size_t maxlen) ...@@ -243,7 +243,7 @@ const char* sbbs_t::formatted_atcode(const char* sp, char* str, size_t maxlen)
{ {
char tmp[128]; char tmp[128];
char buf[256]; char buf[256];
struct atcode_format fmt; atcode_format fmt;
SAFECOPY(tmp, sp); SAFECOPY(tmp, sp);
char* p = fmt.parse(tmp); char* p = fmt.parse(tmp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment