Skip to content

Commit

Permalink
The test module now compiles again.
Browse files Browse the repository at this point in the history
git-svn-id: https://subversion.cs.uiuc.edu/svn/bang/eoh2009@8 69d76c3e-0761-0410-948c-9895a8bb34fc
  • Loading branch information
nbysani2 committed Jan 22, 2009
1 parent 137d07b commit 62f7cac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/test-module.c
Expand Up @@ -13,9 +13,9 @@

char BANG_module_name[5] = "test";
unsigned char BANG_module_version[] = {0,0,1};
BANG_api api;
BANG_api *api;

BANG_callbacks BANG_module_init(BANG_api get_api) {
BANG_callbacks BANG_module_init(BANG_api *get_api) {
api = get_api;
fprintf(stderr,"TEST:\t Module with name %s is initializing with version %d.%d.%d.\n",
BANG_module_name,
Expand All @@ -27,11 +27,11 @@ BANG_callbacks BANG_module_init(BANG_api get_api) {
return callbacks;
}

void BANG_module_run() {
void BANG_module_run(BANG_module_info *info) {
fprintf(stderr,"TEST:\t Module with name %s is running with version %d.%d.%d.\n",
BANG_module_name,
BANG_module_version[0],
BANG_module_version[1],
BANG_module_version[2]);
api.BANG_debug_on_all_peers("TESTING ON ALL PEERS!\n");
api->BANG_debug_on_all_peers(info,"TESTING ON ALL PEERS!\n");
}

0 comments on commit 62f7cac

Please sign in to comment.