- Fixes '!=' whitespace
- Replace ')\(!=\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(!=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(!=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2363 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
void *clear_malloc(size_t size)
|
||||
{
|
||||
void *t = malloc(size);
|
||||
if (t!=NULL)
|
||||
if (t != NULL)
|
||||
{
|
||||
memset(t, 0x00, size);
|
||||
}
|
||||
@@ -45,7 +45,7 @@ void *clear_malloc(size_t size)
|
||||
void *fill_malloc(size_t size)
|
||||
{
|
||||
void *t = malloc(size);
|
||||
if (t!=NULL)
|
||||
if (t != NULL)
|
||||
{
|
||||
/* We want to initialize memory to some known bad state. */
|
||||
/* 0 and 0xff yields 0 and -1 as integers, which often */
|
||||
|
||||
Reference in New Issue
Block a user