* include/sys/file.h: Add extern "C".
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2014-08-04  Anthony Heading  <anthony@ajrh.net> | ||||||
|  |  | ||||||
|  | 	* include/sys/file.h: Add extern "C". | ||||||
|  |  | ||||||
| 2014-08-04  Corinna Vinschen  <corinna@vinschen.de> | 2014-08-04  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* common.din (__cxa_atexit): Export. | 	* common.din (__cxa_atexit): Export. | ||||||
|   | |||||||
| @@ -39,8 +39,17 @@ | |||||||
| #define LOCK_NB		0x04		/* don't block when locking */ | #define LOCK_NB		0x04		/* don't block when locking */ | ||||||
| #define LOCK_UN		0x08		/* unlock file */ | #define LOCK_UN		0x08		/* unlock file */ | ||||||
|  |  | ||||||
|  | #ifdef __cplusplus | ||||||
|  | extern "C" | ||||||
|  | { | ||||||
|  | #endif | ||||||
|  |  | ||||||
| extern int flock _PARAMS ((int, int)); | extern int flock _PARAMS ((int, int)); | ||||||
|  |  | ||||||
|  | #ifdef __cplusplus | ||||||
|  | } | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user