Commit 495a1a23 authored by Claes Sjofors's avatar Claes Sjofors

rt_appl, char arg changed to const char

parent 37378abe
......@@ -72,7 +72,7 @@ void rt_appl::init()
}
}
void rt_appl::register_appl( char *name)
void rt_appl::register_appl( const char *name)
{
pwr_tStatus sts;
pwr_sClass_Application *op;
......
......@@ -40,7 +40,7 @@ class rt_appl {
//! Constructor.
rt_appl(
char *name, //< Process name.
const char *name, //< Process name.
errh_eAnix anix, //< Application index.
double scantime = 1.0, //< Scantime for call of the scan() function.
qcom_sQid qid = qcom_cNQid //< Qcom queue identity.
......@@ -48,7 +48,7 @@ class rt_appl {
{ strcpy( m_name, name); }
void init();
void register_appl( char *name);
void register_appl( const char *name);
void mainloop();
double scantime() { return m_scantime;}
void set_scantime( double time) { m_scantime = time;}
......
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