Skip to content
Snippets Groups Projects
Commit c780dbf9 authored by kolya's avatar kolya
Browse files

include explicitly initialized globals (int x = 0;) in cross-refs,

also thanks to greg price.
parent 6186836d
No related branches found
No related tags found
No related merge requests found
......@@ -127,9 +127,8 @@ perl -e '
next;
}
if (/^([0-9]+) (((static|struct|extern|union|enum) +)*([A-Za-z0-9_]+))( .*)? +([A-Za-z_][A-Za-z0-9_]*)[,;]/) {
print "$1 $7\n"
if (/^([0-9]+) (((static|struct|extern|union|enum) +)*([A-Za-z0-9_]+))( .*)? +([A-Za-z_][A-Za-z0-9_]*)(,|;|=| =)/) {
print "$1 $7\n";
}
elsif(/^([0-9]+) (enum|struct|union) +([A-Za-z0-9_]+) +{/){
......
......@@ -8,8 +8,6 @@
#include "proc.h"
#include "spinlock.h"
extern int use_console_lock;
void
initlock(struct spinlock *lock, char *name)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment