Skip to content

Commit ff0c2ca

Browse files
authored
Merge pull request #10272 from devreal/mpi-info-set-const
Documentation: MPI_Info_set string arguments are const
2 parents 3aa7e64 + 601c585 commit ff0c2ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/man-openmpi/man3/MPI_Info_set.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ C Syntax
2020
2121
#include <mpi.h>
2222
23-
int MPI_Info_set(MPI_Info info, char *key, char *value)
23+
int MPI_Info_set(MPI_Info info, const char *key, const char *value)
2424
2525
2626
Fortran Syntax

docs/man-openmpi/man3/MPI_Pack_external_size.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ C Syntax
2121
2222
#include <mpi.h>
2323
24-
int MPI_Pack_external_size(char *datarep, int incount,
24+
int MPI_Pack_external_size(const char *datarep, int incount,
2525
MPI_Datatype datatype, MPI_Aint *size)
2626
2727

0 commit comments

Comments
 (0)