Followed a coding convention of contiki, in which cast operation should not be followed by a space char.
This commit is contained in:
parent
1a59b784b7
commit
cc2b6e58d7
2 changed files with 5 additions and 5 deletions
|
@ -57,15 +57,15 @@ mtarch_start(struct mtarch_thread *t,
|
||||||
|
|
||||||
|
|
||||||
/* A parameter for method for thread function. */
|
/* A parameter for method for thread function. */
|
||||||
*t->sp = (u16_t) data;
|
*t->sp = (u16_t)data;
|
||||||
--t->sp;
|
--t->sp;
|
||||||
|
|
||||||
/* This will be a return address of thread function. */
|
/* This will be a return address of thread function. */
|
||||||
*t->sp = (u16_t) mt_exit;
|
*t->sp = (u16_t)mt_exit;
|
||||||
--t->sp;
|
--t->sp;
|
||||||
|
|
||||||
/* The thread function, is used as a return address of mtarch_switch. */
|
/* The thread function, is used as a return address of mtarch_switch. */
|
||||||
*t->sp = (u16_t) function;
|
*t->sp = (u16_t)function;
|
||||||
--t->sp;
|
--t->sp;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: strcasecmp.c,v 1.1 2007/08/30 14:39:16 matsutsuka Exp $
|
* $Id: strcasecmp.c,v 1.2 2007/09/01 01:09:48 matsutsuka Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
|
@ -46,5 +46,5 @@ int strcasecmp(const char *str1, const char *str2)
|
||||||
str1++;
|
str1++;
|
||||||
str2++;
|
str2++;
|
||||||
}
|
}
|
||||||
return tolower(*(unsigned char *) str1) - tolower(*(unsigned char *) str2);
|
return tolower(*(unsigned char *)str1) - tolower(*(unsigned char *)str2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue