Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
9f0789e0
Commit
9f0789e0
authored
Mar 16, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- add groups in T_messages.txt
- minor fix
parent
f18d59c9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
201 additions
and
1 deletion
+201
-1
T_messages.txt
T_messages.txt
+200
-0
tracer/database.c
tracer/database.c
+1
-1
No files found.
T_messages.txt
View file @
9f0789e0
This diff is collapsed.
Click to expand it.
tracer/database.c
View file @
9f0789e0
...
@@ -292,7 +292,7 @@ static void onoff_id(database *d, char *name, int *a, int onoff)
...
@@ -292,7 +292,7 @@ static void onoff_id(database *d, char *name, int *a, int onoff)
i
=
bsearch
(
&
(
id
){
name
:
name
},
d
->
i
,
d
->
isize
,
sizeof
(
id
),
id_cmp
);
i
=
bsearch
(
&
(
id
){
name
:
name
},
d
->
i
,
d
->
isize
,
sizeof
(
id
),
id_cmp
);
if
(
i
==
NULL
)
return
;
if
(
i
==
NULL
)
return
;
a
[
i
->
id
]
=
onoff
;
a
[
i
->
id
]
=
onoff
;
printf
(
"turning %s %s
\n
"
,
name
,
onoff
?
"ON"
:
"OFF"
);
printf
(
"turning %s %s
\n
"
,
onoff
?
"ON"
:
"OFF"
,
name
);
}
}
static
void
onoff_group
(
database
*
d
,
char
*
name
,
int
*
a
,
int
onoff
)
static
void
onoff_group
(
database
*
d
,
char
*
name
,
int
*
a
,
int
onoff
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment