summaryrefslogtreecommitdiff
path: root/src/get_version.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-12-03 13:51:41 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-12-03 13:51:41 +0000
commit10ee8d4efa51853cabd7262615e1bd8d4ca0a15a (patch)
treef97facc08f3be0dfa1c24a3e748fb0bb48f611cf /src/get_version.c
parent4484cdb629566ecc0bf4d702c3ac8b8ed73a38ae (diff)
downloadmpc-10ee8d4efa51853cabd7262615e1bd8d4ca0a15a.tar.gz
src/get_version.c: change name from version.c to get_version.c, use literal string instead of MPC_VERSION_STRING in order to avoid mistakes during the compilation of the MPC library.
src/Makefile.am: Transfert file name for mpc_get_version code. README.dev: Add a new place to update when changing version number. git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@378 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/get_version.c')
-rw-r--r--src/get_version.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/get_version.c b/src/get_version.c
new file mode 100644
index 0000000..e769251
--- /dev/null
+++ b/src/get_version.c
@@ -0,0 +1,28 @@
+/* mpc_get_version -- MPC version
+
+Copyright (C) 2008 Philippe Th\'eveny
+
+This file is part of the MPC Library.
+
+The MPC Library is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or (at your
+option) any later version.
+
+The MPC Library 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 Lesser General Public
+License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with the MPC Library; see the file COPYING.LIB. If not, write to
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA. */
+
+#include "mpc.h"
+
+const char *
+mpc_get_version (void)
+{
+ return "0.6-dev";
+}