Unsupported return type for external function

In a Declare statement, you declared an external function using an unsupported type for the return value.

Replace the return type with a valid one.