Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
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
Libraries
asn1c
Commits
d0ee2b14
Commit
d0ee2b14
authored
Nov 14, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename a bit for consistency
parent
304a70e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
libasn1compiler/asn1c_fdeps.c
libasn1compiler/asn1c_fdeps.c
+7
-7
No files found.
libasn1compiler/asn1c_fdeps.c
View file @
d0ee2b14
#include "asn1c_internal.h"
#include "asn1c_fdeps.h"
static
asn1c_dep_filename
*
asn1c_
new_dep_filename
(
const
char
*
filename
);
static
asn1c_dep_filename
*
asn1c_
dep_filename_new
(
const
char
*
filename
);
static
void
asn1c_dep_add
(
asn1c_dep_chain
*
dlist
,
const
char
*
filename
,
int
lineno
,
int
column
);
static
asn1c_dep_chain
*
asn1c_
new_dep_chain
(
);
static
asn1c_dep_chain
*
asn1c_
dep_chain_new
(
void
);
static
asn1c_dep_chain
*
asn1c_dep_chains_add_new
(
asn1c_dep_chainset
*
deps
,
enum
asn1c_dep_section
section
,
int
active
)
{
asn1c_dep_chain
*
dc
=
asn1c_
new_dep_chain
();
asn1c_dep_chain
*
dc
=
asn1c_
dep_chain_new
();
asn1c_tagged_dep_chain
*
tc
=
calloc
(
1
,
sizeof
(
*
tc
));
tc
->
chain
=
dc
;
tc
->
section
=
section
;
...
...
@@ -150,7 +150,7 @@ asn1c_read_file_dependencies(arg_t *arg, const char *datadir) {
}
static
asn1c_dep_filename
*
asn1c_
new_dep_filename
(
const
char
*
filename
)
{
asn1c_
dep_filename_new
(
const
char
*
filename
)
{
asn1c_dep_filename
*
d
;
assert
(
filename
);
...
...
@@ -164,13 +164,13 @@ asn1c_new_dep_filename(const char *filename) {
}
static
asn1c_dep_chain
*
asn1c_
new_dep_chain
()
{
asn1c_
dep_chain_new
()
{
return
calloc
(
1
,
sizeof
(
asn1c_dep_chain
));
}
static
void
asn1c_dep_add
(
asn1c_dep_chain
*
dlist
,
const
char
*
filename
,
int
lineno
,
int
column
)
{
asn1c_dep_filename
*
df
=
asn1c_
new_dep_filename
(
filename
);
asn1c_dep_filename
*
df
=
asn1c_
dep_filename_new
(
filename
);
df
->
lineno
=
lineno
;
df
->
column
=
column
;
...
...
@@ -201,7 +201,7 @@ asn1c_deps_flatten(const asn1c_dep_chainset *deps,
return
0
;
}
dlist
=
asn1c_
new_dep_chain
();
dlist
=
asn1c_
dep_chain_new
();
for
(
size_t
i
=
0
;
i
<
deps
->
chains_count
;
i
++
)
{
asn1c_tagged_dep_chain
*
tc
=
deps
->
chains
[
i
];
...
...
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