Closed Bug 1211 Opened 26 years ago Closed 26 years ago

Change to libimg/src/if.h to prevent multiple declaration of TimeoutCallbackFunction

Categories

(Core :: Graphics: ImageLib, defect, P2)

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: tor, Assigned: pnunn)

Details

This change stops TimeoutCallbackFunction from being defined twice (il.h and xpcompat.h) when STANDALONE_IMAGE_LIB is defined: --- if.h-orig Fri Oct 30 14:05:03 1998 +++ if.h Fri Oct 30 14:06:53 1998 @@ -67,6 +67,7 @@ /*****************************XXXM12N Get rid of this. ***********************/ +#ifndef STANDALONE_IMAGE_LIB PR_BEGIN_EXTERN_C typedef void (*TimeoutCallbackFunction) (void * closure); @@ -76,6 +77,7 @@ extern void FE_ClearTimeout(void *timer_id); PR_END_EXTERN_C +#endif /*********************************XXXM12N*************************************/
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
..makes sense to me. I'm not taking out either decl in case only one of the two include files is used in a particular branch or build. Hats off to tor@cs.brown.edu.....
Bulk moving Mozilla/ImageLig bugs to NGLayout/Image in preparation for a move to Browser/ImageLib.
Status: RESOLVED → VERIFIED
marking verified
You need to log in before you can comment on or make changes to this bug.