diff options
| author | Tom Rini <[email protected]> | 2016-03-15 12:49:12 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-03-22 12:16:13 -0400 |
| commit | 8a7367accaaf88f90773a37fc9257d184bf448d2 (patch) | |
| tree | 7db05bb79d66c25f37bbec4a124f34ac591b5393 /tools/bin2header.c | |
| parent | cd0fa5bff8052b19bde6967c2734f323c9848568 (diff) | |
cmd: Fix license command
The license command isn't usually built and has a few problems:
- The rules to generate license.h haven't worked in a long time,
re-write these based on the bmp_logo.h rules.
- 'tok' is unused and the license text size has increased
- bin2header.c wasn't grabbing unistd.h to know the prototype for
read().
Cc: Masahiro Yamada <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'tools/bin2header.c')
| -rw-r--r-- | tools/bin2header.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bin2header.c b/tools/bin2header.c index 27a5b6aab6e..6c2c23f624e 100644 --- a/tools/bin2header.c +++ b/tools/bin2header.c @@ -8,6 +8,7 @@ #include <stdlib.h> #include <stdio.h> +#include <unistd.h> int main(int argc, char **argv) { |
