* include/sane/sane.h: added extern "C" for compilation with a C++

compiler
merge-requests/1/head
Rene Rebe 2004-07-15 08:32:39 +00:00
rodzic 8ae91c2ff6
commit 472a85788d
2 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2004-07-15 Rene Rebe <rene@rocklinux.org>
* include/sane/sane.h: added extern "C" for compilation with a C++
compiler
2004-07-10 Gerard Klaver <gerard at gkall dot hobby dot nl>
* tools/check-usb-chip.c: Added check for the GT-8911.

Wyświetl plik

@ -16,6 +16,10 @@
#ifndef sane_h
#define sane_h
#ifdef __cplusplus
extern "C" {
#endif
#define SANE_CURRENT_MAJOR 1
#define SANE_VERSION_CODE(major, minor, build) \
@ -210,4 +214,8 @@ extern SANE_Status sane_get_select_fd (SANE_Handle handle,
SANE_Int * fd);
extern SANE_String_Const sane_strstatus (SANE_Status status);
#ifdef __cplusplus
}
#endif
#endif /* sane_h */