summaryrefslogtreecommitdiff
path: root/tools/ivythroughput.cpp
diff options
context:
space:
mode:
authorbustico2008-05-19 15:31:30 +0000
committerbustico2008-05-19 15:31:30 +0000
commit09f82d4e1e6dd1672b272c314c42d5cf30c91ea8 (patch)
treea25557d3aad5edc2641f98ea434e0b676f6b6872 /tools/ivythroughput.cpp
parent7cd590600a7ff3dd8defc3d639fd3e87f1973015 (diff)
downloadivy-c-09f82d4e1e6dd1672b272c314c42d5cf30c91ea8.zip
ivy-c-09f82d4e1e6dd1672b272c314c42d5cf30c91ea8.tar.gz
ivy-c-09f82d4e1e6dd1672b272c314c42d5cf30c91ea8.tar.bz2
ivy-c-09f82d4e1e6dd1672b272c314c42d5cf30c91ea8.tar.xz
* make the lib and api more robust by adding const where they should be
* compile with -Wall and eliminate remaining warnings
Diffstat (limited to 'tools/ivythroughput.cpp')
-rw-r--r--tools/ivythroughput.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/ivythroughput.cpp b/tools/ivythroughput.cpp
index 513e6eb..1803e66 100644
--- a/tools/ivythroughput.cpp
+++ b/tools/ivythroughput.cpp
@@ -86,8 +86,7 @@ bool getMessages (const char*fileName, ListOfString &messages, unsigned int numM
bool getRegexps (const char*fileName, ListOfString &regexps, unsigned int numReg);
double currentTime();
-void binCB( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) ;
-void binCBR( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event ) ;
+void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyBindEvent event ) ;
void congestCB ( IvyClientPtr app, void *user_data, IvyApplicationEvent event ) ;
void stopCB (TimerId id, void *user_data, unsigned long delta);
void sendAllMessageCB (TimerId id, void *user_data, unsigned long delta);
@@ -442,7 +441,7 @@ double currentTime()
# | |_) | | | | | | | | |____ | |_) |
# |_.__/ |_| |_| |_| \_____| |____/
*/
-void binCB( IvyClientPtr app, void *user_data, int id, char* regexp, IvyBindEvent event )
+void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyBindEvent event )
{
string appName = IvyGetApplicationName( app );
static MapBindByClnt bindByClnt;