Commit d29fca9c authored by Claes Sjofors's avatar Claes Sjofors

Spelling fix

parent 8541d2e2
...@@ -2272,7 +2272,7 @@ int pb_gsd::syntax_check( int *idx) ...@@ -2272,7 +2272,7 @@ int pb_gsd::syntax_check( int *idx)
*idx = i; *idx = i;
return PB__NOMODULENAME; return PB__NOMODULENAME;
} }
// Check that name is unic // Check that name is unique
for ( int j = 0; j < module_conf_cnt; j++) { for ( int j = 0; j < module_conf_cnt; j++) {
if ( i != j && if ( i != j &&
cdh_NoCaseStrcmp( module_conf[i].name, module_conf[j].name) == 0) { cdh_NoCaseStrcmp( module_conf[i].name, module_conf[j].name) == 0) {
...@@ -2289,4 +2289,4 @@ int pb_gsd::syntax_check( int *idx) ...@@ -2289,4 +2289,4 @@ int pb_gsd::syntax_check( int *idx)
} }
} }
return PB__SUCCESS; return PB__SUCCESS;
} }
\ No newline at end of file
...@@ -330,7 +330,7 @@ int dcli_cli( dcli_tCmdTable *command_table, ...@@ -330,7 +330,7 @@ int dcli_cli( dcli_tCmdTable *command_table,
if ( hitnr > 1) if ( hitnr > 1)
{ {
/* Command not unic */ /* Command not unique */
return DCLI__COM_AMBIG; return DCLI__COM_AMBIG;
} }
else if ( hitnr < 1) else if ( hitnr < 1)
...@@ -398,7 +398,7 @@ int dcli_cli( dcli_tCmdTable *command_table, ...@@ -398,7 +398,7 @@ int dcli_cli( dcli_tCmdTable *command_table,
} }
else if ( hitnr > 1) else if ( hitnr > 1)
{ {
/* qualifier not unic */ /* qualifier not unique */
return DCLI__QUAL_AMBIG; return DCLI__QUAL_AMBIG;
} }
/* Place back the / and = within quotes */ /* Place back the / and = within quotes */
...@@ -1168,4 +1168,4 @@ unsigned int dcli_random() ...@@ -1168,4 +1168,4 @@ unsigned int dcli_random()
srand( itime); srand( itime);
return (unsigned int)((double) rand() / ((double) RAND_MAX + 1) * 999999); return (unsigned int)((double) rand() / ((double) RAND_MAX + 1) * 999999);
} }
\ No newline at end of file
...@@ -54,7 +54,7 @@ void rt_appl::init() ...@@ -54,7 +54,7 @@ void rt_appl::init()
qcom_sQattr qAttr; qcom_sQattr qAttr;
pwr_tStatus sts; pwr_tStatus sts;
// Init error and status logger with a unic application index per node. // Init error and status logger with a unique application index per node.
errh_Init( m_name, m_anix); errh_Init( m_name, m_anix);
errh_SetStatus( PWR__APPLSTARTUP); errh_SetStatus( PWR__APPLSTARTUP);
...@@ -161,4 +161,4 @@ void rt_appl::mainloop() ...@@ -161,4 +161,4 @@ void rt_appl::mainloop()
} }
first_scan = false; first_scan = false;
} }
} }
\ No newline at end of file
...@@ -1275,7 +1275,7 @@ void *rtt_logging_logproc( void *arg) ...@@ -1275,7 +1275,7 @@ void *rtt_logging_logproc( void *arg)
case RTT_LOGG_CONT: case RTT_LOGG_CONT:
if ( entry_ptr->logg_file) if ( entry_ptr->logg_file)
fprintf( entry_ptr->logg_file, "\"\""); fprintf( entry_ptr->logg_file, "\"\"");
/* Find a unic shortname for each parameter */ /* Find a unique shortname for each parameter */
for ( i = 0; i < RTT_LOGG_MAXPAR; i++) for ( i = 0; i < RTT_LOGG_MAXPAR; i++)
{ {
if ( entry_ptr->print_shortname) if ( entry_ptr->print_shortname)
...@@ -1290,7 +1290,7 @@ void *rtt_logging_logproc( void *arg) ...@@ -1290,7 +1290,7 @@ void *rtt_logging_logproc( void *arg)
if ( strcmp( parname, "ACTUALVALUE") == 0) if ( strcmp( parname, "ACTUALVALUE") == 0)
*s = 0; *s = 0;
} }
/* Check that this name is unic */ /* Check that this name is unique */
for ( j = 0; j < RTT_LOGG_MAXPAR; j++) for ( j = 0; j < RTT_LOGG_MAXPAR; j++)
{ {
if ( j != i && if ( j != i &&
...@@ -2012,4 +2012,4 @@ int rtt_logging_close_files() ...@@ -2012,4 +2012,4 @@ int rtt_logging_close_files()
entry_ptr++; entry_ptr++;
} }
return RTT__SUCCESS; return RTT__SUCCESS;
} }
\ No newline at end of file
...@@ -5087,7 +5087,7 @@ graph_eDatabase Graph::parse_attr_name( char *name, char *parsed_name, ...@@ -5087,7 +5087,7 @@ graph_eDatabase Graph::parse_attr_name( char *name, char *parsed_name,
*inverted = 0; *inverted = 0;
if ( grow->stack_cnt) { if ( grow->stack_cnt) {
// Add suffix to make name unic for subwindow context // Add suffix to make name unique for subwindow context
char owner[256]; char owner[256];
grow_GetOwner( grow->ctx, owner); grow_GetOwner( grow->ctx, owner);
......
...@@ -910,7 +910,7 @@ static void *xtt_logproc( void *arg) ...@@ -910,7 +910,7 @@ static void *xtt_logproc( void *arg)
case xtt_LoggType_Cont: case xtt_LoggType_Cont:
if ( logg->logg_file) if ( logg->logg_file)
fprintf( logg->logg_file, "\"%s\"", time_str); fprintf( logg->logg_file, "\"%s\"", time_str);
/* Find a unic shortname for each parameter */ /* Find a unique shortname for each parameter */
for ( i = 0; i < RTT_LOGG_MAXPAR; i++) for ( i = 0; i < RTT_LOGG_MAXPAR; i++)
{ {
if ( logg->print_shortname) if ( logg->print_shortname)
...@@ -925,7 +925,7 @@ static void *xtt_logproc( void *arg) ...@@ -925,7 +925,7 @@ static void *xtt_logproc( void *arg)
if ( strcmp( parname, "ACTUALVALUE") == 0) if ( strcmp( parname, "ACTUALVALUE") == 0)
*s = 0; *s = 0;
} }
/* Check that this name is unic */ /* Check that this name is unique */
for ( j = 0; j < RTT_LOGG_MAXPAR; j++) for ( j = 0; j < RTT_LOGG_MAXPAR; j++)
{ {
if ( j != i && if ( j != i &&
...@@ -1560,4 +1560,4 @@ int XttLogging::close_files() ...@@ -1560,4 +1560,4 @@ int XttLogging::close_files()
void XttLogging::message( char severity, const char *msg) void XttLogging::message( char severity, const char *msg)
{ {
((XNav *)xnav)->message( severity, msg); ((XNav *)xnav)->message( severity, msg);
} }
\ No newline at end of file
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