Skip to content

Commit 8c80ef0

Browse files
Fix texcache forward declaration to restore CI build
A recent merge introduced a call path that references cacheDropQueuedRequestLocked before its static definition.\nAdd an explicit prototype with the other internal declarations so C99 builds do not fail with implicit declaration/static redefinition errors.
1 parent 1b829b7 commit 8c80ef0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/texcache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ static void cacheClearItem(cache_entry_t *item, int freeTxt);
8787
static void cacheResetTextureState(GSTEXTURE *texture);
8888
static void cacheResetRequestTrackingLocked(void);
8989
static void cacheWakeWorker(void);
90+
static void cacheDropQueuedRequestLocked(load_image_request_t *req);
9091

9192
static void cacheReleaseTexture(GSTEXTURE *texture)
9293
{

0 commit comments

Comments
 (0)