summaryrefslogtreecommitdiffstats
path: root/contrib/groff/libgroff/putenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/libgroff/putenv.c')
-rw-r--r--contrib/groff/libgroff/putenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/groff/libgroff/putenv.c b/contrib/groff/libgroff/putenv.c
index 9e1cd32..c1ca671 100644
--- a/contrib/groff/libgroff/putenv.c
+++ b/contrib/groff/libgroff/putenv.c
@@ -43,8 +43,7 @@ extern char **environ;
/* Put STRING, which is of the form "NAME=VALUE", in the environment. */
-int putenv(string)
- char *string;
+int putenv(const char *string)
{
char *name_end = strchr(string, '=');
SIZE_T size;
OpenPOWER on IntegriCloud