Fix a mis-located #endif that would cause the C compiler to skip ImageWriter related function prototypes. Missing prototypes triggered several compiler warnings.
This commit is contained in:
parent
ce319c9370
commit
e3b7bcd23e
|
@ -294,12 +294,17 @@ private:
|
|||
Bit8u ASCII85CurCol; // Columns printed so far in the current lines
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
//Interfaces to C code
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#include <stdbool.h>
|
||||
typedef unsigned char Bit8u;
|
||||
#endif
|
||||
|
||||
void imagewriter_init(int pdpi, int pwidth, int pheight, char* poutput, bool mpage, int port);
|
||||
void imagewriter_loop(Bit8u pchar,int port);
|
||||
void imagewriter_close();
|
||||
|
@ -309,4 +314,3 @@ void imagewriter_feed();
|
|||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue