make fully compatible with gcc -ansi
This commit is contained in:
@ -167,9 +167,9 @@ struct _liblammpsplugin {
|
||||
void (*scatter)(void *, char *, int, int, void *);
|
||||
void (*scatter_subset)(void *, char *, int, int, int, int *, void *);
|
||||
|
||||
// lammps_create_atoms() takes tagint and imageint as args
|
||||
// ifdef insures they are compatible with rest of LAMMPS
|
||||
// caller must match to how LAMMPS library is built
|
||||
/* lammps_create_atoms() takes tagint and imageint as args
|
||||
* the ifdef insures they are compatible with rest of LAMMPS
|
||||
* caller must match to how LAMMPS library is built */
|
||||
|
||||
#ifndef LAMMPS_BIGBIG
|
||||
void (*create_atoms)(void *, int, int *, int *, double *, double *, int *, int);
|
||||
|
||||
@ -134,7 +134,7 @@ int main(int narg, char **arg)
|
||||
plugin->command(lmp,"run 1");
|
||||
}
|
||||
|
||||
// extract force on single atom two different ways
|
||||
/* extract force on single atom two different ways */
|
||||
|
||||
if (lammps == 1) {
|
||||
double **f = (double **) plugin->extract_atom(lmp,"f");
|
||||
@ -172,7 +172,7 @@ int main(int narg, char **arg)
|
||||
if (v) free(v);
|
||||
if (type) free(type);
|
||||
|
||||
// close down LAMMPS
|
||||
/* close down LAMMPS */
|
||||
|
||||
if (lammps == 1) {
|
||||
plugin->close(lmp);
|
||||
|
||||
Reference in New Issue
Block a user