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
|
||||
DtwmStarted()
|
||||
DtwmStarted(void)
|
||||
{
|
||||
smGD.dtwmRunning = True;
|
||||
} /* END OF FUNCTION DtwmStarted */
|
||||
|
@ -940,11 +940,8 @@ ProcessReloadActionsDatabase(void)
|
|||
}
|
||||
|
||||
void
|
||||
ProcessEvent(w, client_data, event, continue_to_dispatch)
|
||||
Widget w;
|
||||
XtPointer client_data;
|
||||
XEvent *event;
|
||||
Boolean *continue_to_dispatch;
|
||||
ProcessEvent(Widget w, XtPointer client_data, XEvent *event,
|
||||
Boolean *continue_to_dispatch)
|
||||
{
|
||||
switch(event->type)
|
||||
{
|
||||
|
|
|
@ -959,7 +959,7 @@ SetResSet( void )
|
|||
*
|
||||
*************************************<->***********************************/
|
||||
void
|
||||
UndoSetSavePath ( )
|
||||
UndoSetSavePath (void)
|
||||
{
|
||||
char * buf;
|
||||
|
||||
|
@ -2637,7 +2637,7 @@ SmExit (
|
|||
}
|
||||
|
||||
void
|
||||
SetSIGPIPEToDefault ()
|
||||
SetSIGPIPEToDefault (void)
|
||||
{
|
||||
struct sigaction pipeSig;
|
||||
|
||||
|
|
|
@ -314,7 +314,7 @@ SaveState(
|
|||
*
|
||||
*************************************<->***********************************/
|
||||
int
|
||||
CompleteSave ( )
|
||||
CompleteSave (void)
|
||||
{
|
||||
|
||||
FILE *convertFP;
|
||||
|
@ -414,7 +414,7 @@ CompleteSave ( )
|
|||
*
|
||||
*************************************<->***********************************/
|
||||
static void
|
||||
PruneSessionDirectory ()
|
||||
PruneSessionDirectory (void)
|
||||
{
|
||||
DIR * dirp;
|
||||
struct dirent * dp;
|
||||
|
@ -588,7 +588,7 @@ PruneSessionDirectory ()
|
|||
*
|
||||
*************************************<->***********************************/
|
||||
static Boolean
|
||||
WriteClientDatabase ()
|
||||
WriteClientDatabase (void)
|
||||
{
|
||||
char *db;
|
||||
ClientDB outputDB;
|
||||
|
@ -810,7 +810,7 @@ CheckRequiredProperties (
|
|||
*
|
||||
*************************************<->***********************************/
|
||||
void
|
||||
NotifyProxyClients ( )
|
||||
NotifyProxyClients (void)
|
||||
{
|
||||
unsigned int topListLength, containedListLength;
|
||||
WindowInfo * topList; /* list of top-level windows */
|
||||
|
|
|
@ -186,7 +186,7 @@ void AddClient (
|
|||
* Functions
|
||||
*/
|
||||
|
||||
Boolean InitXSMP ( )
|
||||
Boolean InitXSMP (void)
|
||||
{
|
||||
char errorMsg[ERRORMSGLEN];
|
||||
char *env;
|
||||
|
@ -299,7 +299,7 @@ InitializeSaveState (
|
|||
}
|
||||
|
||||
static void
|
||||
InitializeXSMPGlobals ( )
|
||||
InitializeXSMPGlobals (void)
|
||||
{
|
||||
smXSMP.authDataEntries = NULL;
|
||||
|
||||
|
@ -920,7 +920,7 @@ SaveYourselfDoneProc (
|
|||
|
||||
|
||||
static void
|
||||
ProcessSaveYourselfResponses ()
|
||||
ProcessSaveYourselfResponses (void)
|
||||
{
|
||||
ClientRecPtr pClientRec;
|
||||
Boolean done = False;
|
||||
|
@ -1014,7 +1014,7 @@ CloseConnectionProc (
|
|||
}
|
||||
|
||||
void
|
||||
CompleteXSMPSave ()
|
||||
CompleteXSMPSave (void)
|
||||
{
|
||||
ClientRecPtr pClientRec;
|
||||
|
||||
|
@ -1235,7 +1235,7 @@ Tt_callback_action GetWsmClientsHandler(
|
|||
|
||||
|
||||
static
|
||||
Boolean SendGetWsmClientsMessage ( )
|
||||
Boolean SendGetWsmClientsMessage (void)
|
||||
{
|
||||
Tt_message message;
|
||||
Tt_status status;
|
||||
|
@ -1270,7 +1270,7 @@ Boolean SendGetWsmClientsMessage ( )
|
|||
|
||||
|
||||
static
|
||||
int GetCurrentWorkspaceNumber ()
|
||||
int GetCurrentWorkspaceNumber (void)
|
||||
{
|
||||
Atom currentWorkspace;
|
||||
Atom *workspaceList;
|
||||
|
@ -1300,7 +1300,7 @@ int GetCurrentWorkspaceNumber ()
|
|||
|
||||
|
||||
static
|
||||
void CancelShutdown ()
|
||||
void CancelShutdown (void)
|
||||
{
|
||||
ClientRecPtr pClientRec;
|
||||
char *pch;
|
||||
|
@ -1441,7 +1441,7 @@ MyIoErrorHandler (
|
|||
}
|
||||
|
||||
void
|
||||
InstallIOErrorHandler ()
|
||||
InstallIOErrorHandler (void)
|
||||
{
|
||||
IceIOErrorHandler default_handler;
|
||||
|
||||
|
@ -1452,7 +1452,7 @@ InstallIOErrorHandler ()
|
|||
}
|
||||
|
||||
|
||||
void XSMPExit ( )
|
||||
void XSMPExit (void)
|
||||
{
|
||||
char * pchar;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue