dtcm: Coverity 88675
[oweals/cde.git] / cde / programs / dtsession / SmGlobals.c
index dfd4c3e9c767abee92f2581bd0ab3ff76097cc43..0bb24e7edd643581c35c1564b667b6f111c490b9 100644 (file)
@@ -64,9 +64,6 @@
 #include <sys/types.h>
 #include <sys/utsname.h>
 #include <unistd.h>
-#ifdef __apollo
-#include <X11/apollosys.h>      /* for pid_t, in hp-ux sys/types.h */
-#endif
 #include <sys/stat.h>
 #include <sys/param.h>
 #include <X11/Intrinsic.h>
@@ -962,7 +959,7 @@ SetResSet( void )
  *
  *************************************<->***********************************/
 void 
-UndoSetSavePath ( )
+UndoSetSavePath (void)
 {
        char                    * buf;
 
@@ -2607,7 +2604,7 @@ SetAlternateSession (
                /*
                 * The directory for the specified session exists
                 * but it doesn't have any client databases.  Start
-                * a new user session.  If a user wants a sesssion
+                * a new user session.  If a user wants a session
                 * with no apps, they should create a zero-length
                 * session database.
                 */
@@ -2640,7 +2637,7 @@ SmExit (
 }
 
 void
-SetSIGPIPEToDefault ()
+SetSIGPIPEToDefault (void)
 {
        struct sigaction pipeSig;