X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=date.c;h=4b2f66add384cfc87b32eaf3d3bbb0922547df26;hb=e5f39576650933770153e82c63a46f27fcd72b0e;hp=21d31bb2507ef93eae0449224e5f31eaa142e0e4;hpb=67991cf824f8df27e74c92d754fb507681c69ce6;p=oweals%2Fbusybox.git diff --git a/date.c b/date.c index 21d31bb25..4b2f66add 100644 --- a/date.c +++ b/date.c @@ -20,11 +20,6 @@ * */ -#include "busybox.h" -#define BB_DECLARE_EXTERN -#define bb_need_invalid_date -#define bb_need_memory_exhausted -#include "messages.c" #include #include #include @@ -33,6 +28,11 @@ #include #include #include +#include "busybox.h" +#define BB_DECLARE_EXTERN +#define bb_need_invalid_date +#define bb_need_memory_exhausted +#include "messages.c" /* This 'date' command supports only 2 time setting formats, @@ -46,7 +46,7 @@ /* Default input handling to save suprising some people */ -struct tm *date_conv_time(struct tm *tm_time, const char *t_string) +static struct tm *date_conv_time(struct tm *tm_time, const char *t_string) { int nr; @@ -73,7 +73,7 @@ struct tm *date_conv_time(struct tm *tm_time, const char *t_string) /* The new stuff for LRP */ -struct tm *date_conv_ftime(struct tm *tm_time, const char *t_string) +static struct tm *date_conv_ftime(struct tm *tm_time, const char *t_string) { struct tm t;