Ignore:
Timestamp:
Dec 15, 2011, 12:50:15 PM (14 years ago)
Author:
dmik
Message:

Port MSCMS to GCC/kBuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/mscms/profile.c

    r21311 r21891  
    1919 */
    2020
     21#include <stdarg.h>
     22#include <string.h>
     23#include <memory.h>
     24
    2125#include "config.h"
    2226#include "wine/debug.h"
    2327#include "wine/unicode.h"
    24 
    25 #include <stdarg.h>
    2628
    2729#include "windef.h"
     
    5860}
    5961
    60 const char *MSCMS_dbgstr_tag( DWORD tag )
    61 {
    62     return sprintf( "'%c%c%c%c'",
     62static const char *MSCMS_dbgstr_tag( DWORD tag )
     63{
     64    static char buf[5];
     65    sprintf( buf, "'%c%c%c%c'",
    6366        (char)(tag >> 24), (char)(tag >> 16), (char)(tag >> 8), (char)(tag) );
     67    return buf;
    6468}
    6569
Note: See TracChangeset for help on using the changeset viewer.