mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
libDtTerm: Change to ANSI function definition
This commit is contained in:
parent
ba513278b9
commit
6b09b19351
8 changed files with 10 additions and 15 deletions
|
@ -3716,7 +3716,7 @@ ManagerConstraintInitializePatch(Widget request, Widget new_w, ArgList args,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
DtTermInitialize()
|
DtTermInitialize(void)
|
||||||
{
|
{
|
||||||
XmManagerClassRec *mw = (XmManagerClassRec *) xmManagerWidgetClass;
|
XmManagerClassRec *mw = (XmManagerClassRec *) xmManagerWidgetClass;
|
||||||
CoreClassRec *core = (CoreClassRec *) coreWidgetClass;
|
CoreClassRec *core = (CoreClassRec *) coreWidgetClass;
|
||||||
|
|
|
@ -320,7 +320,7 @@ _DtTermPrimReleasePty(char *ptySlave)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_DtTermPrimPtyCleanup()
|
_DtTermPrimPtyCleanup(void)
|
||||||
{
|
{
|
||||||
/* dummy function for STREAMS... */
|
/* dummy function for STREAMS... */
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -59,7 +59,7 @@ static char rcs_id[] = "$TOG: TermPrimParser.c /main/2 1999/10/15 12:23:41 mgree
|
||||||
#pragma BBA_IGNORE
|
#pragma BBA_IGNORE
|
||||||
#endif /*BBA*/
|
#endif /*BBA*/
|
||||||
static void
|
static void
|
||||||
ParseTrap()
|
ParseTrap(void)
|
||||||
{
|
{
|
||||||
static int count = 0;
|
static int count = 0;
|
||||||
|
|
||||||
|
|
|
@ -340,8 +340,7 @@ void _DtTermPrimPtySendBreak(int pty, int msec)
|
||||||
#elif defined(USE_TCSENDBREAK)
|
#elif defined(USE_TCSENDBREAK)
|
||||||
(void) tcsendbreak(pty, 0);
|
(void) tcsendbreak(pty, 0);
|
||||||
#else /* none specified... */
|
#else /* none specified... */
|
||||||
There is no RS232 break code specified for this architecture. See
|
#error "There is no RS232 break code specified for this architecture. See TermPrimOSDepI.h for a list of #defines..."
|
||||||
TermPrimOSDepI.h for a list of #defines...
|
|
||||||
#endif /* rs232 break definition... */
|
#endif /* rs232 break definition... */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -368,7 +367,7 @@ static eucioc_t refWp;
|
||||||
#endif /* (USE_CSWIDTH) */
|
#endif /* (USE_CSWIDTH) */
|
||||||
|
|
||||||
void
|
void
|
||||||
_DtTermPrimPtyGetDefaultModes()
|
_DtTermPrimPtyGetDefaultModes(void)
|
||||||
{
|
{
|
||||||
int tty = -1;
|
int tty = -1;
|
||||||
int refTty = -1;
|
int refTty = -1;
|
||||||
|
|
|
@ -562,7 +562,7 @@ _DtTermPrimUtmpEntryDestroy(Widget w, char *utmpLine)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_DtTermPrimUtmpCleanup()
|
_DtTermPrimUtmpCleanup(void)
|
||||||
{
|
{
|
||||||
DebugF('s', 10, fprintf(stderr, ">>_DtTermPrimUtmpCleanup() starting\n"));
|
DebugF('s', 10, fprintf(stderr, ">>_DtTermPrimUtmpCleanup() starting\n"));
|
||||||
_DtTermProcessLock();
|
_DtTermProcessLock();
|
||||||
|
|
|
@ -559,7 +559,7 @@ static gid_t gid_user;
|
||||||
static gid_t gid_root;
|
static gid_t gid_root;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
suidInit()
|
suidInit(void)
|
||||||
{
|
{
|
||||||
_DtTermProcessLock();
|
_DtTermProcessLock();
|
||||||
if (first) {
|
if (first) {
|
||||||
|
@ -575,7 +575,7 @@ suidInit()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_DtTermPrimRemoveSuidRoot()
|
_DtTermPrimRemoveSuidRoot(void)
|
||||||
{
|
{
|
||||||
(void) suidInit();
|
(void) suidInit();
|
||||||
#if defined(HAS_SETRESUID)
|
#if defined(HAS_SETRESUID)
|
||||||
|
|
|
@ -65,9 +65,7 @@ static void HelpTerminalOptionsCallback(Widget w, XtPointer client_data,
|
||||||
|
|
||||||
|
|
||||||
_DtTermViewLineupList *
|
_DtTermViewLineupList *
|
||||||
_DtTermViewLineupListCreate
|
_DtTermViewLineupListCreate(void)
|
||||||
(
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
_DtTermViewLineupList *list;
|
_DtTermViewLineupList *list;
|
||||||
|
|
||||||
|
|
|
@ -57,9 +57,7 @@ static void order(char *p1, char *p2, signed char *offset1, signed char *offset2
|
||||||
static char *vis(char val);
|
static char *vis(char val);
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(int argc, char **argv)
|
||||||
int argc;
|
|
||||||
char **argv;
|
|
||||||
{
|
{
|
||||||
char buffer[BUFSIZ];
|
char buffer[BUFSIZ];
|
||||||
char *bufPtr;
|
char *bufPtr;
|
||||||
|
|
Loading…
Reference in a new issue