fix stupid mistakes

This commit is contained in:
Walter Bright 2007-10-03 06:00:32 +00:00
parent 50322c3bde
commit 7be3be74fc
3 changed files with 4 additions and 5 deletions

View file

@ -55,8 +55,8 @@ struct lldiv_t { long quot,rem; }
int (*compare)(in void *elem1, in void *elem2)); /// ditto int (*compare)(in void *elem1, in void *elem2)); /// ditto
char* getenv(const char*); /// char* getenv(const char*); ///
int setenv(char*, char*, int); /// 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(char*); /// 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(); /// int rand(); ///
void srand(uint); /// ditto void srand(uint); /// ditto

View file

@ -87,8 +87,7 @@ class FormatError : Error
enum Mangle : char enum Mangle : char
{ {
Tvoid = 'v', Tvoid = 'v',
//Tbit = 'b', // no longer used Tbool = 'b',
Tbool = 'x',
Tbyte = 'g', Tbyte = 'g',
Tubyte = 'h', Tubyte = 'h',
Tshort = 's', Tshort = 's',

View file

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