projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix check version
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
traceset.c
diff --git
a/ltt/branches/poly/lttv/lttv/traceset.c
b/ltt/branches/poly/lttv/lttv/traceset.c
index fd67c68859b834ca4daeee12fb64317456579689..181bdd53430de5739316262bc618ebc1e29a2d40 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/traceset.c
+++ b/
ltt/branches/poly/lttv/lttv/traceset.c
@@
-16,6
+16,9
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <lttv/traceset.h>
#include <lttv/iattribute.h>
#include <lttv/traceset.h>
#include <lttv/iattribute.h>
@@
-71,7
+74,7
@@
LttvTrace *lttv_trace_new(LttTrace *t)
LttvTraceset *lttv_traceset_copy(LttvTraceset *s_orig)
{
LttvTraceset *lttv_traceset_copy(LttvTraceset *s_orig)
{
- int i;
+
gu
int i;
LttvTraceset *s;
LttvTrace * trace;
LttvTraceset *s;
LttvTrace * trace;
@@
-203,7
+206,7
@@
guint lttv_trace_ref(LttvTrace * t)
guint lttv_trace_unref(LttvTrace * t)
{
guint lttv_trace_unref(LttvTrace * t)
{
- if(
t->ref_count > 0
)
+ if(
likely(t->ref_count > 0)
)
t->ref_count--;
return t->ref_count;
t->ref_count--;
return t->ref_count;
This page took
0.022506 seconds
and
4
git commands to generate.