mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtsession: Change to ANSI function definitions
This commit is contained in:
parent
f20747f139
commit
94f78da5df
4 changed files with 18 additions and 21 deletions
|
@ -481,7 +481,7 @@ StartMsgServer(void)
|
||||||
*
|
*
|
||||||
*************************************<->***********************************/
|
*************************************<->***********************************/
|
||||||
static void
|
static void
|
||||||
DtwmStarted()
|
DtwmStarted(void)
|
||||||
{
|
{
|
||||||
smGD.dtwmRunning = True;
|
smGD.dtwmRunning = True;
|
||||||
} /* END OF FUNCTION DtwmStarted */
|
} /* END OF FUNCTION DtwmStarted */
|
||||||
|
@ -940,11 +940,8 @@ ProcessReloadActionsDatabase(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ProcessEvent(w, client_data, event, continue_to_dispatch)
|
ProcessEvent(Widget w, XtPointer client_data, XEvent *event,
|
||||||
Widget w;
|
Boolean *continue_to_dispatch)
|
||||||
XtPointer client_data;
|
|
||||||
XEvent *event;
|
|
||||||
Boolean *continue_to_dispatch;
|
|
||||||
{
|
{
|
||||||
switch(event->type)
|
switch(event->type)
|
||||||
{
|
{
|
||||||
|
|
|
@ -959,7 +959,7 @@ SetResSet( void )
|
||||||
*
|
*
|
||||||
*************************************<->***********************************/
|
*************************************<->***********************************/
|
||||||
void
|
void
|
||||||
UndoSetSavePath ( )
|
UndoSetSavePath (void)
|
||||||
{
|
{
|
||||||
char * buf;
|
char * buf;
|
||||||
|
|
||||||
|
@ -2637,7 +2637,7 @@ SmExit (
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SetSIGPIPEToDefault ()
|
SetSIGPIPEToDefault (void)
|
||||||
{
|
{
|
||||||
struct sigaction pipeSig;
|
struct sigaction pipeSig;
|
||||||
|
|
||||||
|
|
|
@ -314,7 +314,7 @@ SaveState(
|
||||||
*
|
*
|
||||||
*************************************<->***********************************/
|
*************************************<->***********************************/
|
||||||
int
|
int
|
||||||
CompleteSave ( )
|
CompleteSave (void)
|
||||||
{
|
{
|
||||||
|
|
||||||
FILE *convertFP;
|
FILE *convertFP;
|
||||||
|
@ -414,7 +414,7 @@ CompleteSave ( )
|
||||||
*
|
*
|
||||||
*************************************<->***********************************/
|
*************************************<->***********************************/
|
||||||
static void
|
static void
|
||||||
PruneSessionDirectory ()
|
PruneSessionDirectory (void)
|
||||||
{
|
{
|
||||||
DIR * dirp;
|
DIR * dirp;
|
||||||
struct dirent * dp;
|
struct dirent * dp;
|
||||||
|
@ -588,7 +588,7 @@ PruneSessionDirectory ()
|
||||||
*
|
*
|
||||||
*************************************<->***********************************/
|
*************************************<->***********************************/
|
||||||
static Boolean
|
static Boolean
|
||||||
WriteClientDatabase ()
|
WriteClientDatabase (void)
|
||||||
{
|
{
|
||||||
char *db;
|
char *db;
|
||||||
ClientDB outputDB;
|
ClientDB outputDB;
|
||||||
|
@ -810,7 +810,7 @@ CheckRequiredProperties (
|
||||||
*
|
*
|
||||||
*************************************<->***********************************/
|
*************************************<->***********************************/
|
||||||
void
|
void
|
||||||
NotifyProxyClients ( )
|
NotifyProxyClients (void)
|
||||||
{
|
{
|
||||||
unsigned int topListLength, containedListLength;
|
unsigned int topListLength, containedListLength;
|
||||||
WindowInfo * topList; /* list of top-level windows */
|
WindowInfo * topList; /* list of top-level windows */
|
||||||
|
|
|
@ -186,7 +186,7 @@ void AddClient (
|
||||||
* Functions
|
* Functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Boolean InitXSMP ( )
|
Boolean InitXSMP (void)
|
||||||
{
|
{
|
||||||
char errorMsg[ERRORMSGLEN];
|
char errorMsg[ERRORMSGLEN];
|
||||||
char *env;
|
char *env;
|
||||||
|
@ -299,7 +299,7 @@ InitializeSaveState (
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
InitializeXSMPGlobals ( )
|
InitializeXSMPGlobals (void)
|
||||||
{
|
{
|
||||||
smXSMP.authDataEntries = NULL;
|
smXSMP.authDataEntries = NULL;
|
||||||
|
|
||||||
|
@ -920,7 +920,7 @@ SaveYourselfDoneProc (
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
ProcessSaveYourselfResponses ()
|
ProcessSaveYourselfResponses (void)
|
||||||
{
|
{
|
||||||
ClientRecPtr pClientRec;
|
ClientRecPtr pClientRec;
|
||||||
Boolean done = False;
|
Boolean done = False;
|
||||||
|
@ -1014,7 +1014,7 @@ CloseConnectionProc (
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
CompleteXSMPSave ()
|
CompleteXSMPSave (void)
|
||||||
{
|
{
|
||||||
ClientRecPtr pClientRec;
|
ClientRecPtr pClientRec;
|
||||||
|
|
||||||
|
@ -1235,7 +1235,7 @@ Tt_callback_action GetWsmClientsHandler(
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
Boolean SendGetWsmClientsMessage ( )
|
Boolean SendGetWsmClientsMessage (void)
|
||||||
{
|
{
|
||||||
Tt_message message;
|
Tt_message message;
|
||||||
Tt_status status;
|
Tt_status status;
|
||||||
|
@ -1270,7 +1270,7 @@ Boolean SendGetWsmClientsMessage ( )
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
int GetCurrentWorkspaceNumber ()
|
int GetCurrentWorkspaceNumber (void)
|
||||||
{
|
{
|
||||||
Atom currentWorkspace;
|
Atom currentWorkspace;
|
||||||
Atom *workspaceList;
|
Atom *workspaceList;
|
||||||
|
@ -1300,7 +1300,7 @@ int GetCurrentWorkspaceNumber ()
|
||||||
|
|
||||||
|
|
||||||
static
|
static
|
||||||
void CancelShutdown ()
|
void CancelShutdown (void)
|
||||||
{
|
{
|
||||||
ClientRecPtr pClientRec;
|
ClientRecPtr pClientRec;
|
||||||
char *pch;
|
char *pch;
|
||||||
|
@ -1441,7 +1441,7 @@ MyIoErrorHandler (
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
InstallIOErrorHandler ()
|
InstallIOErrorHandler (void)
|
||||||
{
|
{
|
||||||
IceIOErrorHandler default_handler;
|
IceIOErrorHandler default_handler;
|
||||||
|
|
||||||
|
@ -1452,7 +1452,7 @@ InstallIOErrorHandler ()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void XSMPExit ( )
|
void XSMPExit (void)
|
||||||
{
|
{
|
||||||
char * pchar;
|
char * pchar;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue