diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-12-09 11:55:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:05:46 -0700 |
| commit | b4dcd7de02472d98ce22dd334b0a1bd5aa86717c (patch) | |
| tree | 0135570cb2398e9ae8d6bbc069d891e50e55d5b2 /compile.c | |
| parent | fd46a87b9e1d032863c41f54009e5e6386862f8b (diff) | |
| download | sparse-dev-b4dcd7de02472d98ce22dd334b0a1bd5aa86717c.tar.gz | |
Add "stream_name()" helper function, and use it.
Much prettier than "input_streams[x].name", since most
users really don't want to know about the internals of
how the preprocessor lays out its stream tracking.
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ int main(int argc, char **argv) list = sparse(argc, argv); - filename = input_streams[1].name; + filename = stream_name(1); basename = strrchr(filename, '/'); if (basename) filename = basename+1; |
