friend.cpp:25:16: error: 'long long int findSample' redeclared as different kind of entity
25 | int findSample(n, confidence, host, protocol) {
| ^
In file included from friend.cpp:2:
friend.h:7:5: note: previous declaration 'int findSample(int, int*, int*, int*)'
7 | int findSample(int n,int confidence[],int host[],int protocol[]);
| ^~~~~~~~~~
friend.cpp:25:16: error: 'n' was not declared in this scope; did you mean 'yn'?
25 | int findSample(n, confidence, host, protocol) {
| ^
| yn
friend.cpp:25:19: error: 'confidence' was not declared in this scope
25 | int findSample(n, confidence, host, protocol) {
| ^~~~~~~~~~
friend.cpp:25:31: error: 'host' was not declared in this scope
25 | int findSample(n, confidence, host, protocol) {
| ^~~~
friend.cpp:25:37: error: 'protocol' was not declared in this scope
25 | int findSample(n, confidence, host, protocol) {
| ^~~~~~~~