aboutsummaryrefslogtreecommitdiff
path: root/sed.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2000-07-17 23:45:12 +0000
committerPavel Roskin <proski@gnu.org>2000-07-17 23:45:12 +0000
commit9c5fcc3408626c46bc5187554e950b981143bb38 (patch)
treefef8c909479641fa6828a08efb988cf6f4ed9c8a /sed.c
parentcc8a66b113dbdf04082b6f7c9b0b58984d433028 (diff)
downloadbusybox-w32-9c5fcc3408626c46bc5187554e950b981143bb38.tar.gz
busybox-w32-9c5fcc3408626c46bc5187554e950b981143bb38.tar.bz2
busybox-w32-9c5fcc3408626c46bc5187554e950b981143bb38.zip
New message added to messages.c: full_version
Used where possible
Diffstat (limited to 'sed.c')
-rw-r--r--sed.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sed.c b/sed.c
index 195175e88..3973d212d 100644
--- a/sed.c
+++ b/sed.c
@@ -52,6 +52,9 @@
52#include <ctype.h> /* for isspace() */ 52#include <ctype.h> /* for isspace() */
53#include "internal.h" 53#include "internal.h"
54 54
55#define bb_need_full_version
56#define BB_DECLARE_EXTERN
57#include "messages.c"
55 58
56/* externs */ 59/* externs */
57extern int optind; /* in unistd.h */ 60extern int optind; /* in unistd.h */
@@ -676,7 +679,7 @@ extern int sed_main(int argc, char **argv)
676 while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) { 679 while ((opt = getopt(argc, argv, "Vhne:f:")) > 0) {
677 switch (opt) { 680 switch (opt) {
678 case 'V': 681 case 'V':
679 printf("BusyBox v%s (%s)\n", BB_VER, BB_BT); 682 printf("%s\n", full_version);
680 exit(0); 683 exit(0);
681 break; 684 break;
682 case 'h': 685 case 'h':