Convert uses of XKeycodeToKeysym (deprecated) to XkbKeycodeToKeysym
[oweals/cde.git] / cde / lib / DtSvc / DtUtil2 / ChkpntClient.c
index c0ea1d4f7185b07247d8a21e8dc96fdf5f85347e..4b7ebb8edb7a1179ecff6a4a4ddd6c9985bca5c3 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -275,7 +275,7 @@ _DtPerfChkpntInit(Display      *display,
        XStringListToTextProperty(array, 1, &text_prop);
        XSetWMName(tmpdisplay, dtcp_info.window, &text_prop);
        XFree(text_prop.value);
-       if (buffer) free(buffer);
+       free(buffer);
     }
 
     XCloseDisplay(tmpdisplay);
@@ -312,7 +312,7 @@ _DtPerfChkpntMsgSend(char *message)
  * myDtPerfChkpntEnd --- End the checkpointing message delivery
  */
 int
-_DtPerfChkpntEnd() 
+_DtPerfChkpntEnd(void
 {
     myDtChkpntMsgSend("End checkpoint delivery", DT_PERF_CHKPNT_MSG_END);
     return(1);