X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=wiringPi%2Flcd.h;h=ecd1d25bee72918405783edebcd8feab0c4771c4;hb=86a5c68e087ecc7daa7d511968d9c7843a4910eb;hp=d4c724c0a757db0a2db881fb278fffbb10b81dc8;hpb=db2edcc9c530eb37414bb6c0d63e7be3c3afc712;p=wiringPi.git diff --git a/wiringPi/lcd.h b/wiringPi/lcd.h index d4c724c..ecd1d25 100644 --- a/wiringPi/lcd.h +++ b/wiringPi/lcd.h @@ -26,6 +26,10 @@ #define MAX_LCDS 8 +#ifdef __cplusplus +extern "C" { +#endif + extern void lcdHome (int fd) ; extern void lcdClear (int fd) ; extern void lcdPosition (int fd, int x, int y) ; @@ -33,10 +37,6 @@ extern void lcdPutchar (int fd, uint8_t data) ; extern void lcdPuts (int fd, char *string) ; extern void lcdPrintf (int fd, char *message, ...) ; -#ifdef __cplusplus -extern "C" { -#endif - extern int lcdInit (int rows, int cols, int bits, int rs, int strb, int d0, int d1, int d2, int d3, int d4, int d5, int d6, int d7) ;