static int
cproc2(struct cmd_syndesc *as, void *arock)
{
- register struct cmd_item *ti;
+ struct cmd_item *ti;
printf("in the pear command\n");
printf("number is %s\n", as->parms[0].items->data);
if (as->parms[1].items)
int
main(int argc, char **argv)
{
- register struct cmd_syndesc *ts;
+ struct cmd_syndesc *ts;
ts = cmd_CreateSyntax("apple", cproc1, NULL, "describe apple");
cmd_CreateAlias(ts, "appl");