Added externs declarations to header files to handle C++ compilation.

Cleaned up BACnet/IP API a little.
This commit is contained in:
skarg
2005-08-13 14:10:21 +00:00
parent fdbe2eab1e
commit 2e87236e9b
36 changed files with 307 additions and 76 deletions
+8
View File
@@ -1,6 +1,10 @@
#ifndef BIGEND_H
#define BIGEND_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
// Big-Endian systems save the most significant byte first.
// Sun and Motorola processors, IBM-370s and PDP-10s are big-endian.
// for example, a 4 byte integer 67305985 is 0x04030201 in hexidecimal.
@@ -19,4 +23,8 @@
int big_endian(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif