diff options
| author | Gavin Howard <yzena.tech@gmail.com> | 2018-12-18 10:03:14 -0700 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-25 20:53:15 +0100 |
| commit | fa495ce4988f978dc2c716dba364e90e76cee844 (patch) | |
| tree | 8a7cec78de40901f0cab01a37c22b6842e75ff90 | |
| parent | 8fac1c77401478855fd0ac1a7fa64c371bd735cb (diff) | |
| download | busybox-w32-fa495ce4988f978dc2c716dba364e90e76cee844.tar.gz busybox-w32-fa495ce4988f978dc2c716dba364e90e76cee844.tar.bz2 busybox-w32-fa495ce4988f978dc2c716dba364e90e76cee844.zip | |
bc: make it clear that the code is adapted
Signed-off-by: Gavin Howard <yzena.tech@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | miscutils/bc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index 75201f5f0..3e34d9e83 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
| 2 | /* | 2 | /* |
| 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 3 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
| 4 | * Copyright (c) 2018 Gavin D. Howard and contributors. | 4 | * Adapted from https://github.com/gavinhoward/bc |
| 5 | * Original code copyright (c) 2018 Gavin D. Howard and contributors. | ||
| 5 | */ | 6 | */ |
| 6 | //config:config BC | 7 | //config:config BC |
| 7 | //config: bool "bc (45 kb; 49 kb when combined with dc)" | 8 | //config: bool "bc (45 kb; 49 kb when combined with dc)" |
| @@ -6950,7 +6951,8 @@ static BC_STATUS zbc_vm_file(const char *file) | |||
| 6950 | static void bc_vm_info(void) | 6951 | static void bc_vm_info(void) |
| 6951 | { | 6952 | { |
| 6952 | printf("%s "BB_VER"\n" | 6953 | printf("%s "BB_VER"\n" |
| 6953 | "Copyright (c) 2018 Gavin D. Howard and contributors\n" | 6954 | "Adapted from https://github.com/gavinhoward/bc\n" |
| 6955 | "Original code (c) 2018 Gavin D. Howard and contributors\n" | ||
| 6954 | , applet_name); | 6956 | , applet_name); |
| 6955 | } | 6957 | } |
| 6956 | 6958 | ||
