Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csdr-mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ha7ilm
csdr-mirror
Commits
6ee80ea7
Commit
6ee80ea7
authored
Aug 23, 2015
by
ha7ilm
Browse files
Options
Downloads
Patches
Plain Diff
clone() interfered with a function with the similar name in sched.h
parent
4428a518
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csdr.c
+4
-4
4 additions, 4 deletions
csdr.c
with
4 additions
and
4 deletions
csdr.c
+
4
−
4
View file @
6ee80ea7
...
@@ -125,7 +125,7 @@ int clipdetect_ff(float* input, int input_size)
...
@@ -125,7 +125,7 @@ int clipdetect_ff(float* input, int input_size)
return
0
;
return
0
;
}
}
int
clone
()
int
clone
_
()
{
{
static
unsigned
char
clone_buffer
[
BUFSIZE
];
static
unsigned
char
clone_buffer
[
BUFSIZE
];
for
(;;)
for
(;;)
...
@@ -291,7 +291,7 @@ int main(int argc, char *argv[])
...
@@ -291,7 +291,7 @@ int main(int argc, char *argv[])
}
}
if
(
!
strcmp
(
argv
[
1
],
"clone"
))
if
(
!
strcmp
(
argv
[
1
],
"clone"
))
{
{
clone
();
clone
_
();
}
}
if
(
!
strcmp
(
argv
[
1
],
"limit_ff"
))
if
(
!
strcmp
(
argv
[
1
],
"limit_ff"
))
{
{
...
@@ -817,7 +817,7 @@ int main(int argc, char *argv[])
...
@@ -817,7 +817,7 @@ int main(int argc, char *argv[])
if
(
suboptimal
)
fprintf
(
stderr
,
"note: suboptimal rational resampler chosen.
\n
"
);
if
(
suboptimal
)
fprintf
(
stderr
,
"note: suboptimal rational resampler chosen.
\n
"
);
if
(
decimation
==
1
&&
interpolation
==
1
)
clone
();
//copy input to output in this special case (and stick in this function).
if
(
decimation
==
1
&&
interpolation
==
1
)
clone
_
();
//copy input to output in this special case (and stick in this function).
//Alloc output buffer
//Alloc output buffer
int
resampler_output_buffer_size
=
(
BUFSIZE
*
interpolation
)
/
decimation
;
int
resampler_output_buffer_size
=
(
BUFSIZE
*
interpolation
)
/
decimation
;
...
@@ -863,7 +863,7 @@ int main(int argc, char *argv[])
...
@@ -863,7 +863,7 @@ int main(int argc, char *argv[])
}
}
else
fprintf
(
stderr
,
"fractional_decimator_ff: window = %s
\n
"
,
firdes_get_string_from_window
(
window
));
else
fprintf
(
stderr
,
"fractional_decimator_ff: window = %s
\n
"
,
firdes_get_string_from_window
(
window
));
if
(
rate
==
1
)
clone
();
//copy input to output in this special case (and stick in this function).
if
(
rate
==
1
)
clone
_
();
//copy input to output in this special case (and stick in this function).
//Generate filter taps
//Generate filter taps
int
taps_length
=
firdes_filter_len
(
transition_bw
);
int
taps_length
=
firdes_filter_len
(
transition_bw
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment