Commit ab27ab2f authored by Maxime Perrotin's avatar Maxime Perrotin

more objXXX fixes

parent da4fc715
......@@ -874,14 +874,15 @@ void New_Interface(char *name,
/* New Provided interface */
void Add_PI(char *pi)
remove_objXXX_suffix (pi, strlen(pi));
char *pi_name =
make_string ("%.*s", remove_objXXX_suffix(pi, strlen(pi)), pi);
/* Parameters 3 is NULL because a PI's distant FV is irrelevant
* (there can be several) and parameter 5 is NULL because a PI's
* distant name is also irrelevant since there can also
* be several callers (thus several different distant names).
New_Interface(pi, NULL, NULL, PI);
New_Interface(pi_name, NULL, NULL, PI);
/* New Required Interface */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment