mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Moved declaration of format-specific image Load functions to dedicated header
The functions are declared in different files but they were called in another file which re-declared the prototypes. This is dangerous as it can lead to misaligned prototypes when functions changes. They are now grouped in the library internal header 'imgformat.h'
This commit is contained in:
committed by
Carlos R. Mafra
parent
cacc04d4a2
commit
883cda48e3
@@ -34,6 +34,7 @@
|
||||
#include <jpeglib.h>
|
||||
|
||||
#include "wraster.h"
|
||||
#include "imgformat.h"
|
||||
|
||||
/*
|
||||
* <setjmp.h> is used for the optional error recovery mechanism shown in
|
||||
|
||||
Reference in New Issue
Block a user