-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 339032 b: refs/heads/master c: 688f2f5 h: refs/heads/master v: v3
- Loading branch information
Namhyung Kim
authored and
Arnaldo Carvalho de Melo
committed
Nov 14, 2012
1 parent
494255f
commit 9e26517
Showing
7 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 7da5c85dd34dd67846fec965e4bf1f761eecca05 | ||
refs/heads/master: 688f2f5b99311b127ea43efdbf47bb2e3c7a2e32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include "../cache.h" | ||
#include "progress.h" | ||
|
||
static void nop_progress_update(u64 curr __maybe_unused, | ||
u64 total __maybe_unused, | ||
const char *title __maybe_unused) | ||
{ | ||
} | ||
|
||
static struct ui_progress default_progress_fns = | ||
{ | ||
.update = nop_progress_update, | ||
}; | ||
|
||
struct ui_progress *progress_fns = &default_progress_fns; | ||
|
||
void ui_progress__update(u64 curr, u64 total, const char *title) | ||
{ | ||
return progress_fns->update(curr, total, title); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters