Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xv6-19au
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
csep551
xv6-19au
Commits
c780dbf9
Commit
c780dbf9
authored
16 years ago
by
kolya
Browse files
Options
Downloads
Patches
Plain Diff
include explicitly initialized globals (int x = 0;) in cross-refs,
also thanks to greg price.
parent
6186836d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runoff
+2
-3
2 additions, 3 deletions
runoff
spinlock.c
+0
-2
0 additions, 2 deletions
spinlock.c
with
2 additions
and
5 deletions
runoff
+
2
−
3
View file @
c780dbf9
...
...
@@ -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_]+) +{/){
...
...
This diff is collapsed.
Click to expand it.
spinlock.c
+
0
−
2
View file @
c780dbf9
...
...
@@ -8,8 +8,6 @@
#include
"proc.h"
#include
"spinlock.h"
extern
int
use_console_lock
;
void
initlock
(
struct
spinlock
*
lock
,
char
*
name
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment