summaryrefslogtreecommitdiff
path: root/source4/dynconfig
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-03 22:29:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-03 22:29:53 +0200
commit24a9181f25a64937ec0c81ed40e9744de0f164e9 (patch)
treedeeda715acb70fdacde3ae5703ae0a18c9313473 /source4/dynconfig
parent1a1c30405198d82746851f5244be901cf5d1ae6b (diff)
downloadsamba-24a9181f25a64937ec0c81ed40e9744de0f164e9.tar.gz
samba-24a9181f25a64937ec0c81ed40e9744de0f164e9.tar.bz2
samba-24a9181f25a64937ec0c81ed40e9744de0f164e9.zip
Avoid using version call for version string.
(This used to be commit 1897cef508c8bea817c510bd9023d794cb983864)
Diffstat (limited to 'source4/dynconfig')
-rw-r--r--source4/dynconfig/config.mk3
-rw-r--r--source4/dynconfig/version.c27
2 files changed, 1 insertions, 29 deletions
diff --git a/source4/dynconfig/config.mk b/source4/dynconfig/config.mk
index 4956fda519..b10018384f 100644
--- a/source4/dynconfig/config.mk
+++ b/source4/dynconfig/config.mk
@@ -1,7 +1,6 @@
[SUBSYSTEM::DYNCONFIG]
-DYNCONFIG_OBJ_FILES = $(dynconfigsrcdir)/dynconfig.o \
- $(dynconfigsrcdir)/version.o
+DYNCONFIG_OBJ_FILES = $(dynconfigsrcdir)/dynconfig.o
# set these to where to find various files
# These can be overridden by command line switches (see smbd(8))
diff --git a/source4/dynconfig/version.c b/source4/dynconfig/version.c
deleted file mode 100644
index e81f463586..0000000000
--- a/source4/dynconfig/version.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
- Samba Version functions
-
- Copyright (C) Stefan Metzmacher 2003
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "includes.h"
-#include "version.h"
-
-const char *samba_version_string(void)
-{
- return SAMBA_VERSION_STRING;
-}