mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 07:45:21 +00:00
XCursesEndwin() doesn't need to be declared in curspriv.h, nor does it
need to return an int.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* See the file maintain.er for details of the current maintainer. *
|
||||
************************************************************************/
|
||||
|
||||
/* $Id: curspriv.h,v 1.73 2006/07/07 13:11:43 wmcbrine Exp $ */
|
||||
/* $Id: curspriv.h,v 1.74 2006/07/07 13:19:31 wmcbrine Exp $ */
|
||||
|
||||
/* CURSPRIV.H
|
||||
|
||||
@@ -271,7 +271,6 @@ int PDC_query_adapter_type(void);
|
||||
int XCursesInstruct(int);
|
||||
int XCursesInstructAndWait(int);
|
||||
int XCursesInitscr(const char *, int, char **);
|
||||
int XCursesEndwin(void);
|
||||
#endif
|
||||
|
||||
#ifdef __PACIFIC__
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
RCSID("$Id: pdcx11.c,v 1.69 2006/07/02 20:07:01 wmcbrine Exp $");
|
||||
RCSID("$Id: pdcx11.c,v 1.70 2006/07/07 13:19:31 wmcbrine Exp $");
|
||||
|
||||
AppData app_data;
|
||||
|
||||
@@ -1174,7 +1174,7 @@ int get_colors(void)
|
||||
return OK;
|
||||
}
|
||||
|
||||
int XCursesEndwin(void)
|
||||
void XCursesEndwin(void)
|
||||
{
|
||||
PDC_LOG(("%s:XCursesEndwin() - called\n", XCLOGMSG));
|
||||
|
||||
@@ -1200,7 +1200,6 @@ int XCursesEndwin(void)
|
||||
#ifdef FOREIGN
|
||||
XDestroyIC(Xic);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
int XCursesRefreshScrollbar(void)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* See the file maintain.er for details of the current maintainer. *
|
||||
************************************************************************/
|
||||
|
||||
/* $Id: pdcx11.h,v 1.30 2006/07/06 23:50:13 wmcbrine Exp $ */
|
||||
/* $Id: pdcx11.h,v 1.31 2006/07/07 13:19:31 wmcbrine Exp $ */
|
||||
|
||||
#define CURSES_LIBRARY 1
|
||||
#ifdef HAVE_CONFIG_H
|
||||
@@ -308,6 +308,7 @@ void XCursesRequestorCallbackForPaste(Widget, XtPointer, Atom *, Atom *,
|
||||
void XCursesRequestorCallbackForGetSelection(Widget, XtPointer, Atom *, Atom *,
|
||||
XtPointer, unsigned long *, int *);
|
||||
RETSIGTYPE XCursesSignalHandler(int);
|
||||
void XCursesEndwin(void);
|
||||
void XCursesExitCursesProcess(int, char *);
|
||||
void XCursesExitXCursesProcess(int, int, char *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user