Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using the void keyword in function declaration #104

Merged
merged 1 commit into from Sep 15, 2020

Conversation

mypopydev
Copy link
Contributor

Using the void keyword in function declaration to fix the build
warning when enable frei0r in FFmpeg, the warning message like"
frei0r.h:230:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
230 | int f0r_init();
| ^~~
CC libavfilter/vf_gblur.o
frei0r.h:236:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
236 | void f0r_deinit();
| ^~~~
"
Signed-off-by: Jun Zhao barryjzhao@tencent.com

Using the void keyword in function declaration to fix the build
warning when enable frei0r in FFmpeg, the warning message like"
frei0r.h:230:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  230 | int f0r_init();
      | ^~~
CC	libavfilter/vf_gblur.o
frei0r.h:236:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  236 | void f0r_deinit();
      | ^~~~
"
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
@ddennedy ddennedy merged commit 69d3968 into dyne:master Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants