Changeset d4c3284 for cmd.c


Ignore:
Timestamp:
Jun 19, 2011, 1:08:11 AM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Children:
df7301c
Parents:
44dd092
git-author:
Anders Kaseorg <andersk@mit.edu> (06/18/11 20:40:55)
git-committer:
Anders Kaseorg <andersk@mit.edu> (06/19/11 01:08:11)
Message:
commands_to_init: Move into new function owl_cmd_add_defaults

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cmd.c

    r4c7c21f rd4c3284  
    55#include "owl.h"
    66
    7 extern const owl_cmd commands_to_init[];
    8 
    97/**************************************************************************/
    108/***************************** COMMAND DICT *******************************/
     
    1311int owl_cmddict_setup(owl_cmddict *cd) {
    1412  owl_cmddict_init(cd);
    15   if (0 != owl_cmddict_add_from_list(cd, commands_to_init)) return(-1);
    16   return(0);
     13  return owl_cmd_add_defaults(cd);
    1714}
    1815
Note: See TracChangeset for help on using the changeset viewer.