summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-05-31 13:42:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-05-31 13:42:50 -0700
commit4f5cc99e46d0795615b9adc668b4c738529cb54a (patch)
treeb5e502b4c90d560b59e9e7e7b17a6d74ab606aa7
parentc84cd5c224e20e51cee89bf12e07d7c70b75938f (diff)
Make CreateManpageWidget use String type for name argument
Matches declaration of the libXt XtCreatePopupShell function that the name argument is passed to. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--buttons.c2
-rw-r--r--man.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/buttons.c b/buttons.c
index 84bb871..c5fa1a4 100644
--- a/buttons.c
+++ b/buttons.c
@@ -212,7 +212,7 @@ InitPsuedoGlobals(void)
void
CreateManpageWidget(ManpageGlobals * man_globals,
- char *name, Boolean full_instance)
+ String name, Boolean full_instance)
{
Arg arglist[MANPAGEARGS]; /* An argument list for widget creation */
Cardinal num_args; /* The number of arguments in the list. */
diff --git a/man.h b/man.h
index 5d85187..2004dc2 100644
--- a/man.h
+++ b/man.h
@@ -210,7 +210,7 @@ typedef struct _Xman_Resources {
ManpageGlobals *InitPsuedoGlobals(void);
Widget CreateManpage(FILE * file);
-void CreateManpageWidget(ManpageGlobals * man_globals, char *name,
+void CreateManpageWidget(ManpageGlobals * man_globals, String name,
Boolean full_instance);
void FormUpWidgets(Widget parent,
const char **full_size, const char **half_size);