Fix build: remove extra argument in extract_tickets_from_keyring() call - #3
Open
andreix341 wants to merge 1 commit into
Open
Fix build: remove extra argument in extract_tickets_from_keyring() call#3andreix341 wants to merge 1 commit into
andreix341 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue:
make CONF=Release
"make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory '/opt/tickey/tickey'
"make" -f nbproject/Makefile-Release.mk dist/Release/GNU-Linux-x86/tickey
make[2]: Entering directory '/opt/tickey/tickey'
mkdir -p build/Release/GNU-Linux-x86
rm -f "build/Release/GNU-Linux-x86/main.o.d"
gcc -c -O2 -Wall -MMD -MP -MF "build/Release/GNU-Linux-x86/main.o.d" -o build/Release/GNU-Linux-x86/main.o main.c
main.c: In function ‘main’:
main.c:69:17: error: too many arguments to function ‘extract_tickets_from_keyring’; expected 0, have 1
69 | extract_tickets_from_keyring(ccache_info);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
main.c:19:6: note: declared here
19 | void extract_tickets_from_keyring();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [nbproject/Makefile-Release.mk:93: build/Release/GNU-Linux-x86/main.o] Error 1
make[2]: Leaving directory '/opt/tickey/tickey'
make[1]: *** [nbproject/Makefile-Release.mk:69: .build-conf] Error 2
make[1]: Leaving directory '/opt/tickey/tickey'
make: *** [nbproject/Makefile-impl.mk:40: .build-impl] Error 2
Solution:
include <bits/signum.h>with#include <signal.h>ccache_infofromextract_tickets_from_keyring(ccache_info);