How can I make a solidity function to be only callable by other functions in the same contract? and it doesn't visible in etherscan or remix as a normal function.
Eg:
contract Calc {
function add(uint a, uint b) public returns(uint) {
return adder(a,b);
}
function adder(uint a, uint b) public returns(uint) {
return (a+b);
}
}
here I need to make the function 'adder' is only accessible to other function like 'add'. but i can't be accessed by the user through remix or etherscan