Print this page
11506 smatch resync

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/evaluate.c
          +++ new/usr/src/tools/smatch/src/evaluate.c
↓ open down ↓ 1938 lines elided ↑ open up ↑
1939 1939                  ctype = &int_ctype;
1940 1940                  break;
1941 1941  
1942 1942          default:
1943 1943                  break;
1944 1944          }
1945 1945          expr->ctype = ctype;
1946 1946          return ctype;
1947 1947  }
1948 1948  
1949      -static struct symbol *find_identifier(struct ident *ident, struct symbol_list *_list, int *offset)
     1949 +struct symbol *find_identifier(struct ident *ident, struct symbol_list *_list, int *offset)
1950 1950  {
1951 1951          struct ptr_list *head = (struct ptr_list *)_list;
1952 1952          struct ptr_list *list = head;
1953 1953  
1954 1954          if (!head)
1955 1955                  return NULL;
1956 1956          do {
1957 1957                  int i;
1958 1958                  for (i = 0; i < list->nr; i++) {
1959 1959                          struct symbol *sym = (struct symbol *) list->list[i];
↓ open down ↓ 1707 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX