mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
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
@ -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;
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user