From: Nadav Har'El <n...@scylladb.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

<osv/app.hh> - remove _KERNEL restriction

In <osv/app.hh>, all of the osv::application:: API was hidden with a
'#ifdef _KERNEL', probably to avoid header file conflicts in applications
which include the normal Linux header files. I fixed these conflicts in
the previous patch, so we no longer need this _KERNEL stuff. It means
that an application which chooses to include <osv/app.hh> can use all
it has to offer, and not just the couple of wrapper functions at the end.

Signed-off-by: Nadav Har'El <n...@scylladb.com>
Message-Id: <20170130143247.29697-1-...@scylladb.com>

---
diff --git a/include/osv/app.hh b/include/osv/app.hh
--- a/include/osv/app.hh
+++ b/include/osv/app.hh
@@ -10,8 +10,6 @@

 #include <functional>

-#ifdef _KERNEL
-
 #include <memory>
 #include <vector>
 #include <osv/sched.hh>
@@ -231,8 +229,6 @@ void with_all_app_threads(std::function<void(sched::thread &)> f, sched::thread&

 }

-#endif /* _KERNEL */
-
 namespace osv {
 /**
  * Creates a new app

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to