diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-01 18:16:59 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-02-01 18:33:38 -0800 |
commit | 9602a9f11dd5ac928a7275ceb1a58d5328b9d49e (patch) | |
tree | aa5da5de64daf76764ca444ae560ffd14fd4dfeb | |
parent | 3672840c24e0826b7305d5143c95b2d070c57366 (diff) |
greeter: Constify value argument to SetValue()
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | greeter/Login.c | 2 | ||||
-rw-r--r-- | greeter/Login.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/greeter/Login.c b/greeter/Login.c index f37cc1c..e9fe8bb 100644 --- a/greeter/Login.c +++ b/greeter/Login.c @@ -910,7 +910,7 @@ GetPrompt(Widget ctx, int promptNum) _X_INTERNAL int -SetValue(Widget ctx, int promptNum, char *value) +SetValue(Widget ctx, int promptNum, const char *value) { LoginWidget w = (LoginWidget) ctx; diff --git a/greeter/Login.h b/greeter/Login.h index 5054089..c9a69a9 100644 --- a/greeter/Login.h +++ b/greeter/Login.h @@ -220,7 +220,7 @@ extern int SetPrompt(Widget ctx, int promptId, const char *message, loginPromptState state, Boolean minimumTime); extern const char *GetPrompt(Widget ctx, int promptId); -extern int SetValue(Widget ctx, int promptId, char *value); +extern int SetValue(Widget ctx, int promptId, const char *value); extern const char *GetValue(Widget ctx, int promptId); #endif /* _XtLogin_h */ |