*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
#include <X11/CoreP.h>
#include <X11/Xfuncs.h>
#include <X11/Xmu/CharSet.h>
-#include <X11/Xmu/SysUtil.h>
#include "Private.h"
#ifdef __UNIXOS2__
{
char msg[256];
- XmuSnprintf(msg, sizeof(msg),
- "Error parsing displayList at \"%s\"", lp);
+ snprintf(msg, sizeof(msg),
+ "Error parsing displayList at \"%s\"", lp);
XtAppWarning(XtDisplayToApplicationContext(DisplayOfScreen(screen)),
msg);
XawDestroyDisplayList(dlist);
}
if (fp)
{
- XmuSnprintf(cname, fp - fname + 1, fname);
+ snprintf(cname, fp - fname + 1, fname);
memmove(fname, fp + 1, strlen(fp));
lc = cname[0] ? XawGetDisplayListClass(cname) : xlibc;
if (!lc)
{
char msg[256];
- XmuSnprintf(msg, sizeof(msg),
- "Cannot find displayList class \"%s\"", cname);
+ snprintf(msg, sizeof(msg),
+ "Cannot find displayList class \"%s\"", cname);
XtAppWarning(XtDisplayToApplicationContext
(DisplayOfScreen(screen)), msg);
XawDestroyDisplayList(dlist);
{
char msg[256];
- XmuSnprintf(msg, sizeof(msg),
- "Cannot find displayList procedure \"%s\"", fname);
+ snprintf(msg, sizeof(msg),
+ "Cannot find displayList procedure \"%s\"", fname);
XtAppWarning(XtDisplayToApplicationContext(DisplayOfScreen(screen)),
msg);
XawDestroyDisplayList(dlist);
{
char msg[256];
- XmuSnprintf(msg, sizeof(msg),
- "Error parsing displayList at \"%s\"", lp);
+ snprintf(msg, sizeof(msg),
+ "Error parsing displayList at \"%s\"", lp);
XtAppWarning(XtDisplayToApplicationContext
(DisplayOfScreen(screen)), msg);
XawDestroyDisplayList(dlist);
char msg[256];
proc->args = NULL;
- XmuSnprintf(msg, sizeof(msg),
- "Cannot convert arguments to displayList function \"%s\"", fname);
+ snprintf(msg, sizeof(msg),
+ "Cannot convert arguments to displayList function \"%s\"",
+ fname);
XtAppWarning(XtDisplayToApplicationContext
(DisplayOfScreen(screen)), msg);
XawDestroyDisplayList(dlist);