summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-09-11 00:22:18 +0200
committerKevin Ryde <user42@zip.com.au>2001-09-11 00:22:18 +0200
commite1d277141111bc88dfeb0d6bf73b24052994f926 (patch)
tree1e7439bb464839748909ed44bf2c129c6f440c34 /version.c
parente23338a1ca5956a607206b95630c034b721ce6e0 (diff)
downloadgmp-e1d277141111bc88dfeb0d6bf73b24052994f926.tar.gz
* gmp-h.in, version.c (gmp_version): Make the pointer "const" as well
as the string.
Diffstat (limited to 'version.c')
-rw-r--r--version.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/version.c b/version.c
index d8d593dc7..7f07805d9 100644
--- a/version.c
+++ b/version.c
@@ -1,7 +1,6 @@
-/* gmp_version -- version number compiled into the library */
+/* gmp_version -- version number compiled into the library.
-/*
-Copyright 1996, 1999, 2000 Free Software Foundation, Inc.
+Copyright 1996, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -18,9 +17,9 @@ License for more details.
You should have received a copy of the GNU Lesser General Public License
along with the GNU MP 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. */
+MA 02111-1307, USA. */
#include "gmp.h"
#include "gmp-impl.h"
-const char *gmp_version = VERSION;
+const char * const gmp_version = VERSION;