Partial fixes for building phobos with -unittest.

This commit is contained in:
Brad Roberts 2007-10-01 14:32:31 +00:00
parent c31f87641e
commit e8f1af3923
2 changed files with 3 additions and 3 deletions

View file

@ -55,8 +55,8 @@ struct lldiv_t { long quot,rem; }
int (*compare)(in void *elem1, in void *elem2)); /// ditto
char* getenv(const char*); ///
int setenv(char*, char*, int); /// extension to ISO C standard, not available on all platforms
void unsetenv(char*); /// extension to ISO C standard, not available on all platforms
int setenv(const char*, const char*, int); /// extension to ISO C standard, not available on all platforms
void unsetenv(const char*); /// extension to ISO C standard, not available on all platforms
int rand(); ///
void srand(uint); /// ditto

View file

@ -123,6 +123,6 @@ printf("test2\n");
writefln(std.cpuid.toString());
printf("Success\n!");
printf("Success!\n");
return 0;
}