How to fix the Oracle error PCC-02305: illegal mixing of new and old style C function declarations?

In this post, you’ll learn more about the Oracle ErrorPCC-02305: illegal mixing of new and old style C function declarations with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCC-02305: illegal mixing of new and old style C function declarations

Reason for the Error PCC-02305: illegal mixing of new and old style C function declarations

Cause: All C functions using either the traditional style (K&R style) function declarations or the new (ANSI) style must be declared; the two styles cannot be mixed.

How to fix the Error PCC-02305: illegal mixing of new and old style C function declarations ?

You can fix this error in Oracle by following the below steps

Action: Adopt a consist declaration style for functions.