wok diff linld/stuff/src/CRTLX.H @ rev 19826
linld: remove dead code
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 07 12:21:16 2017 +0100 (2017-03-07) |
parents | 6f494adb2c71 |
children | 8fab00f1f6be |
line diff
1.1 --- a/linld/stuff/src/CRTLX.H Sun Mar 05 13:22:08 2017 +0100 1.2 +++ b/linld/stuff/src/CRTLX.H Tue Mar 07 12:21:16 2017 +0100 1.3 @@ -1,6 +1,8 @@ 1.4 // This file is distributed under GPL 1.5 // 1.6 #define NULL 0 1.7 +extern "C" char* strcpy(const char* a,const char* b); 1.8 +extern "C" char* strcat(const char* a,const char* b); 1.9 extern "C" int strcmp(const char* a,const char* b); 1.10 extern "C" int strlen(const char* s); 1.11 extern "C" char* strstr(const char* a,const char* b); 1.12 @@ -12,5 +14,5 @@ 1.13 extern "C" void try_default_args(); 1.14 extern "C" long lseekset(int fd, unsigned long sz); 1.15 #define seekset(fd,sz) lseekset(fd,(unsigned long) sz) 1.16 -extern long cpu_features; 1.17 -#define cpuhaslm() (((char *)&cpu_features)[3]&(char)0x20) 1.18 +extern char cpu_features[]; 1.19 +#define cpuhaslm() (cpu_features[3]&0x20)