*: use references instead of pointers
This commit is contained in:
@@ -32,14 +32,14 @@ extern const char *current_command;
|
||||
extern int command_list_num;
|
||||
|
||||
void
|
||||
command_success(Client *client);
|
||||
command_success(Client &client);
|
||||
|
||||
void
|
||||
command_error_v(Client *client, enum ack error,
|
||||
command_error_v(Client &client, enum ack error,
|
||||
const char *fmt, va_list args);
|
||||
|
||||
gcc_printf(3,4)
|
||||
void
|
||||
command_error(Client *client, enum ack error, const char *fmt, ...);
|
||||
command_error(Client &client, enum ack error, const char *fmt, ...);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user