aboutsummaryrefslogtreecommitdiff
path: root/services.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-27 13:52:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-27 13:52:25 +0200
commit04c1324c57692dfd22fab211a7443aaf484f07ce (patch)
tree9dcc8f36d6d94f02b7c3b2ed1485a50417e3b5e0 /services.cxx
parentb4c7f615916cd41e4772c5dc1b2f9f59b3b2ae6c (diff)
Implement module configuration, cleanup the code
Diffstat (limited to 'services.cxx')
-rw-r--r--services.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/services.cxx b/services.cxx
index 2da5bca..37b32cf 100644
--- a/services.cxx
+++ b/services.cxx
@@ -2,16 +2,16 @@
// copyright : Copyright (c) 2014-2015 Code Synthesis Tools CC
// license : MIT; see accompanying LICENSE file
-#include <web/apache/service>
-
-#include <brep/search>
#include <brep/view>
+#include <brep/search>
+
+#include <web/apache/service>
using namespace brep;
using web::apache::service;
-static const search search_mod;
+static search search_mod;
service AP_MODULE_DECLARE_DATA search_srv ("search", search_mod);
-static const view view_mod;
+static view view_mod;
service AP_MODULE_DECLARE_DATA view_srv ("view", view_mod);