aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-08-10 22:53:31 -0700
committerGarrett D'Amore <garrett@damore.org>2017-08-10 22:53:31 -0700
commit19e0363f3e710fcb26f7e3404f2647ec60233824 (patch)
tree6a779f89405085bafc862587fd3d2ff69cb20d66 /src/nng.h
parent7cb95b18537648ea8104bea80aa9f458d4ed8df3 (diff)
downloadnng-19e0363f3e710fcb26f7e3404f2647ec60233824.tar.gz
nng-19e0363f3e710fcb26f7e3404f2647ec60233824.tar.bz2
nng-19e0363f3e710fcb26f7e3404f2647ec60233824.zip
Constructors missing from Windows DLLs.
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/nng.h b/src/nng.h
index 9f66cdd9..18912b4c 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -323,17 +323,17 @@ enum nng_proto_enum {
};
// Builtin protocol socket constructors.
-extern int nng_bus0_open(nng_socket *);
-extern int nng_pair0_open(nng_socket *);
-extern int nng_pair1_open(nng_socket *);
-extern int nng_pub0_open(nng_socket *);
-extern int nng_sub0_open(nng_socket *);
-extern int nng_push0_open(nng_socket *);
-extern int nng_pull0_open(nng_socket *);
-extern int nng_req0_open(nng_socket *);
-extern int nng_rep0_open(nng_socket *);
-extern int nng_surveyor0_open(nng_socket *);
-extern int nng_respondent0_open(nng_socket *);
+NNG_DECL int nng_bus0_open(nng_socket *);
+NNG_DECL int nng_pair0_open(nng_socket *);
+NNG_DECL int nng_pair1_open(nng_socket *);
+NNG_DECL int nng_pub0_open(nng_socket *);
+NNG_DECL int nng_sub0_open(nng_socket *);
+NNG_DECL int nng_push0_open(nng_socket *);
+NNG_DECL int nng_pull0_open(nng_socket *);
+NNG_DECL int nng_req0_open(nng_socket *);
+NNG_DECL int nng_rep0_open(nng_socket *);
+NNG_DECL int nng_surveyor0_open(nng_socket *);
+NNG_DECL int nng_respondent0_open(nng_socket *);
// Default versions. These provide compile time defaults; note that
// the actual protocols are baked into the binary; this should avoid