#define SWITCH_NONE 0
#include "switches.h"
-extern switch_mask *switchmask(const char *switches);
+extern switch_mask switchmask(const char *switches);
extern COMMAND_INFO *command_find(const char *name);
extern COMMAND_INFO *command_find_exact(const char *name);
extern COMMAND_INFO *command_add
* \return pointer to a static switch mask.
*/
switch_mask
-*switchmask(const char *switches)
+switchmask(const char *switches)
{
static switch_mask sw = NULL;
static int sm_bytes = 0;
else
SW_SET(sw, switchnum);
}
- return &sw;
+ return sw;
}
/** Add an alias to the table of reserved aliases.