Fix build on -CURRENT (gcc-3.3)

Submitted by:	Simon Barner <barner@in.tum.de>
This commit is contained in:
Sergey A. Osokin 2003-07-20 12:33:00 +00:00
parent 032a7bac12
commit aae95e13a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85231
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,13 @@
--- rdf.c.orig Sat Jul 19 05:08:36 2003
+++ rdf.c Sat Jul 19 05:09:00 2003
@@ -445,8 +445,8 @@
printf("calculate_rdf(): a = %f b = %f c = %f alpha = %f beta = %f gamma = %f\n",
model->pbc[0], model->pbc[1], model->pbc[2],
model->pbc[3], model->pbc[4], model->pbc[5]);
- printf("calculate_rdf(): latmat[0] = %f latmat[1] = %f latmat[2] = %f
- \ncalculate_rdf(): latmat[3] = %f latmat[4] = %f latmat[5] = %f
+ printf("calculate_rdf(): latmat[0] = %f latmat[1] = %f latmat[2] = %f\
+ \ncalculate_rdf(): latmat[3] = %f latmat[4] = %f latmat[5] = %f\
\ncalculate_rdf(): latmat[6] = %f latmat[7] = %f latmat[8] = %f\n",
model->latmat[0], model->latmat[1], model->latmat[2],
model->latmat[3], model->latmat[4], model->latmat[5],

View file

@ -0,0 +1,11 @@
--- main.c.orig Sat Jul 19 06:04:26 2003
+++ main.c Sat Jul 19 06:03:37 2003
@@ -21,7 +21,7 @@
#define USAGE "usage: lsm [-h] [-o file] [dir] \n \
\n \
\th \t: print this help message\n \
-\tv \t: print current version\n
+\tv \t: print current version\n\
\to file \t: use file as output \n\n\n\
"