Prototypes are not for safety or security or for type checking.
They are to specify that a function has unusual calling
semantics that emulate those of some Perl built-in function.
Putting prototypes in your code because you think it is safer is like pouring chocolate
pudding into your gas tank because you think it is safer.