summaryrefslogtreecommitdiff
path: root/util-misc
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2009-12-21 21:26:22 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2009-12-21 21:26:22 +0000
commit07ba38797d6739135e5b895ec7f52c398847b893 (patch)
tree5d846542aaf1f5a8a22370fe6db5de1ace93e7a0 /util-misc
parent01cbd85e1c0a3d4fca012e601211f7f2139a9c8c (diff)
downloadapr-07ba38797d6739135e5b895ec7f52c398847b893.tar.gz
Refactor away apu_version legacy cruft
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892985 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'util-misc')
-rw-r--r--util-misc/apu_dso.c1
-rw-r--r--util-misc/apu_version.c37
2 files changed, 0 insertions, 38 deletions
diff --git a/util-misc/apu_dso.c b/util-misc/apu_dso.c
index a8607c117..a826b83ec 100644
--- a/util-misc/apu_dso.c
+++ b/util-misc/apu_dso.c
@@ -29,7 +29,6 @@
#include "apr_atomic.h"
#include "apu_internal.h"
-#include "apu_version.h"
#if APR_HAVE_MODULAR_DSO
diff --git a/util-misc/apu_version.c b/util-misc/apu_version.c
deleted file mode 100644
index 033a1eefb..000000000
--- a/util-misc/apu_version.c
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include "apr_general.h" /* for APR_STRINGIFY */
-
-#include "apu.h"
-#include "apu_version.h"
-
-APR_DECLARE(void) apu_version(apr_version_t *pvsn)
-{
- pvsn->major = APU_MAJOR_VERSION;
- pvsn->minor = APU_MINOR_VERSION;
- pvsn->patch = APU_PATCH_VERSION;
-#ifdef APU_IS_DEV_VERSION
- pvsn->is_dev = 1;
-#else
- pvsn->is_dev = 0;
-#endif
-}
-
-APR_DECLARE(const char *) apu_version_string(void)
-{
- return APU_VERSION_STRING;
-}