fix C++ complaint.

This commit is contained in:
Vítor Manuel de Morais Santos Costa 2009-11-11 10:56:19 +00:00
parent 4b3411e878
commit eac1cc5b9d

View File

@ -100,7 +100,7 @@ typedef void *function_t;
#define fid_t PL_fid_t /* avoid AIX name-clash */
typedef struct _PL_extension
{ char *predicate_name; /* Name of the predicate */
{ const char *predicate_name; /* Name of the predicate */
short arity; /* Arity of the predicate */
function_t function; /* Implementing functions */
short flags; /* Or of PL_FA_... */