Commit 99118364 authored by Philip Carns's avatar Philip Carns

make model_net_get_msg_sz static/private

parent 67206750
......@@ -120,8 +120,6 @@ void model_net_event_rc(
tw_lp *sender,
int message_size);
const int model_net_get_msg_sz(int net_id);
/* returns pointer to LP information for simplenet module */
const tw_lptype* model_net_get_lp_type(int net_id);
......
......@@ -22,6 +22,8 @@ extern struct model_net_method torus_method;
static struct model_net_method* method_array[] =
{&simplenet_method, &torus_method, NULL};
static const int model_net_get_msg_sz(int net_id);
int model_net_setup(char* name,
int packet_size,
const void* net_params)
......@@ -210,7 +212,7 @@ void model_net_event_rc(
}
/* returns the message size, can be either simplenet, dragonfly or torus message size*/
const int model_net_get_msg_sz(int net_id)
static const int model_net_get_msg_sz(int net_id)
{
// TODO: Add checks on network name
// TODO: Add dragonfly and torus network models
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment