Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.23
 
1.24
 
MAIN:ragge:20110121214758
 
local.c
_>885885  * Give target the opportunity of handling pragmas.
 886886  */
 887887 int
<>888 -mypragma(char **ary)
  888+mypragma(char *str)
889889 {
<>890 -        if (strcmp(ary[1], "tls") == 0) {
  890+
  891+        if (strcmp(str, "tls") == 0) {
891892                 uerror("thread-local storage not supported for this target");
 892893                 return 1;
 893894         }
<>894 -        if (strcmp(ary[1], "constructor") == 0 || strcmp(ary[1], "init") == 0) {
  895+        if (strcmp(str, "constructor") == 0 || strcmp(str, "init") == 0) {
895896                 constructor = 1;
 896897                 return 1;
 897898         }
<>898 -        if (strcmp(ary[1], "destructor") == 0 || strcmp(ary[1], "fini") == 0) {
  899+        if (strcmp(str, "destructor") == 0 || strcmp(str, "fini") == 0) {
<_899900                 destructor = 1;
 900901                 return 1;
 901902         }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-17 15:36 +0200