Author: tewk
Date: Mon Dec 8 08:59:26 2008
New Revision: 33662
Modified:
trunk/compilers/imcc/pbc.c
trunk/ext/SQLite3/gen_sqlite3.pl
Log:
Trying to be a good codeing standard robot
Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c (original)
+++ trunk/compilers/imcc/pbc.c Mon Dec 8 08:59:26 2008
@@ -120,7 +120,7 @@
__attribute__nonnull__(3)
__attribute__nonnull__(4)
__attribute__nonnull__(5)
- FUNC_MODIFIES(*pc);
+ FUNC_MODIFIES(*pc)
FUNC_MODIFIES(*sub_id);
PARROT_WARN_UNUSED_RESULT
@@ -671,7 +671,7 @@
*subid_matched = r && (r->subid && (strcmp(r->subid, name) == 0));
/* if names and namespaces are matching - ok */
- if (r && ( *subid_matched
+ if (r && (*subid_matched
|| (r->name && (strcmp(r->name, name) == 0)))
&& ((sym->unit->_namespace && s->unit->_namespace
&& (strcmp(sym->unit->_namespace->name,
s->unit->_namespace->name) == 0))
Modified: trunk/ext/SQLite3/gen_sqlite3.pl
==============================================================================
--- trunk/ext/SQLite3/gen_sqlite3.pl (original)
+++ trunk/ext/SQLite3/gen_sqlite3.pl Mon Dec 8 08:59:26 2008
@@ -76,7 +76,7 @@
.param string signature
.local pmc function
- function = dlfunc lib, cname, signature
+ function = dlfunc lib, cname, signature
set_global pirname, function
.end