]> git.meshlink.io Git - meshlink/commitdiff
The name errno conflicts with the real errno: ‘__errno_location’ declared as a function
authorSaverio Proto <zioproto@gmail.com>
Wed, 23 Apr 2014 21:21:08 +0000 (23:21 +0200)
committerSaverio Proto <zioproto@gmail.com>
Wed, 23 Apr 2014 21:21:08 +0000 (23:21 +0200)
src/meshlink.h

index 36548bf70608b8d6f2ce1ee57c8b3eba3271ccce..86d2587cfc13bbb0ca4ec5040aa4ad8f1a12bf85 100644 (file)
@@ -39,7 +39,7 @@ typedef enum {
 #ifndef MESHLINK_INTERNAL_H
 
 struct meshlink_handle {
-       meshlink_errno_t errno; /// Code of the last encountered error.
+       meshlink_errno_t meshlink_errno; /// Code of the last encountered error.
        const char *errstr;     /// Textual representation of most recent error encountered.
 };