update prototype to allow constant strings

This commit is contained in:
Axel Kohlmeyer
2020-09-14 12:17:49 -04:00
parent f4601235c9
commit ac040dc85f
2 changed files with 2 additions and 2 deletions

View File

@ -3724,7 +3724,7 @@ specific :doc:`LAMMPS package <Packages>` provided as argument.
* \param name string with the name of the package
* \return 1 if included, 0 if not.
*/
int lammps_config_has_package(char * name) {
int lammps_config_has_package(const char *name) {
return Info::has_package(name) ? 1 : 0;
}