aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplemental/util')
-rw-r--r--src/supplemental/util/options.h2
-rw-r--r--src/supplemental/util/platform.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/supplemental/util/options.h b/src/supplemental/util/options.h
index 02b3a9d4..00cf1351 100644
--- a/src/supplemental/util/options.h
+++ b/src/supplemental/util/options.h
@@ -45,4 +45,4 @@ NNG_DECL int nng_opts_parse(int argc, const char **argv,
}
#endif
-#endif // NNG_SUPPLEMENTAL_UTIL_OPTIONS_H \ No newline at end of file
+#endif // NNG_SUPPLEMENTAL_UTIL_OPTIONS_H
diff --git a/src/supplemental/util/platform.c b/src/supplemental/util/platform.c
index ce52491a..fc0f839e 100644
--- a/src/supplemental/util/platform.c
+++ b/src/supplemental/util/platform.c
@@ -29,10 +29,6 @@ nng_msleep(nng_duration dur)
nni_msleep(dur);
}
-// nng_thread is a handle to a "thread", which may be a real system
-// thread, or a coroutine on some platforms.
-typedef struct nng_thread nng_thread;
-
// Create and start a thread. Note that on some platforms, this might
// actually be a coroutine, with limitations about what system APIs
// you can call. Therefore, these threads should only be used with the
@@ -111,8 +107,6 @@ struct nng_cv {
nni_cv c;
};
-typedef struct nng_cv nng_cv;
-
int
nng_cv_alloc(nng_cv **cvp, nng_mtx *mx)
{