Subversion Repositories Kolibri OS

Rev

Rev 6661 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6661 Rev 6938
Line 807... Line 807...
807
 
807
 
808
int set_memory_wb(unsigned long addr, int numpages)
808
int set_memory_wb(unsigned long addr, int numpages)
809
{
809
{
810
    return 0;
810
    return 0;
-
 
811
};
-
 
812
 
-
 
813
char *strdup(const char *str)
-
 
814
{
-
 
815
    size_t len = strlen(str) + 1;
-
 
816
    char *copy = __builtin_malloc(len);
-
 
817
    if (copy)
-
 
818
    {
-
 
819
        memcpy (copy, str, len);
-
 
820
    }
-
 
821
    return copy;
-
 
822
}