Followed a coding convention of contiki, in which cast operation should not be followed by a space char.

This commit is contained in:
matsutsuka 2007-09-01 01:08:07 +00:00
parent 1a59b784b7
commit cc2b6e58d7
2 changed files with 5 additions and 5 deletions

View file

@ -57,15 +57,15 @@ mtarch_start(struct mtarch_thread *t,
/* A parameter for method for thread function. */
*t->sp = (u16_t) data;
*t->sp = (u16_t)data;
--t->sp;
/* This will be a return address of thread function. */
*t->sp = (u16_t) mt_exit;
*t->sp = (u16_t)mt_exit;
--t->sp;
/* The thread function, is used as a return address of mtarch_switch. */
*t->sp = (u16_t) function;
*t->sp = (u16_t)function;
--t->sp;
/*

View file

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* 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++;
str2++;
}
return tolower(*(unsigned char *) str1) - tolower(*(unsigned char *) str2);
return tolower(*(unsigned char *)str1) - tolower(*(unsigned char *)str2);
}