mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +00:00
fixed warnings when compiled with -Wwrite-strings
svn path=/trunk/; revision=19132
This commit is contained in:
parent
bda881de13
commit
c1d7caca61
3 changed files with 6 additions and 6 deletions
|
@ -62,7 +62,7 @@ int main(int argc, char **argv)
|
||||||
struct hostent *hp;
|
struct hostent *hp;
|
||||||
struct servent *sp;
|
struct servent *sp;
|
||||||
int s;
|
int s;
|
||||||
char *host;
|
const char *host;
|
||||||
WORD wVersionRequested;
|
WORD wVersionRequested;
|
||||||
WSADATA wsaData;
|
WSADATA wsaData;
|
||||||
int err;
|
int err;
|
||||||
|
|
|
@ -90,14 +90,14 @@ typedef struct _SYSTEM_THREADS
|
||||||
|
|
||||||
|
|
||||||
// x00000000 00000000 000:00:00 000:00:00 ()
|
// x00000000 00000000 000:00:00 000:00:00 ()
|
||||||
static char* title = "P PID PPID KTime UTime NAME\n";
|
static char title[] = "P PID PPID KTime UTime NAME\n";
|
||||||
static char* title1 = "t TID KTime UTime State WaitResson\n";
|
static char title1[] = "t TID KTime UTime State WaitResson\n";
|
||||||
static char* title2 = "w PID Hwnd WndStile TID WndName\n";
|
static char title2[] = "w PID Hwnd WndStile TID WndName\n";
|
||||||
|
|
||||||
|
|
||||||
struct status {
|
struct status {
|
||||||
DWORD state;
|
DWORD state;
|
||||||
char desc[10];
|
const char desc[10];
|
||||||
} thread_stat[8 + 1] = {
|
} thread_stat[8 + 1] = {
|
||||||
{0, "Init "},
|
{0, "Init "},
|
||||||
{1, "Ready "},
|
{1, "Ready "},
|
||||||
|
|
|
@ -60,7 +60,7 @@ AlphaBlendCleanup(void *Context, PPERF_INFO PerfInfo)
|
||||||
|
|
||||||
ULONG
|
ULONG
|
||||||
DbgPrint(
|
DbgPrint(
|
||||||
IN PCH Format,
|
IN PCSTR Format,
|
||||||
IN ...);
|
IN ...);
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue