1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 08:51:18 +02:00

17417: remove unused fluff from datetime.c

This commit is contained in:
Clint Adams 2002-07-04 17:03:18 +00:00
parent 603956acdc
commit 19424d40a8
2 changed files with 5 additions and 3 deletions

@ -1,3 +1,7 @@
2002-07-04 Clint Adams <clint@zsh.org>
* 17417: Src/Modules/datetime.c: remove unused fluff.
2002-07-04 Peter Stephenson <pws@csr.com> 2002-07-04 Peter Stephenson <pws@csr.com>
* 17410: Doc/Zsh/contrib.yo, Functions/Zle/narrow-to-region, * 17410: Doc/Zsh/contrib.yo, Functions/Zle/narrow-to-region,

@ -31,12 +31,10 @@
#include "datetime.pro" #include "datetime.pro"
#include <time.h> #include <time.h>
static char datetime_nam[] = "datetime";
static int static int
bin_strftime(char *nam, char **argv, char *ops, int func) bin_strftime(char *nam, char **argv, char *ops, int func)
{ {
int ret = 0, bufsize, x; int bufsize, x;
char *endptr = NULL, *buffer = NULL; char *endptr = NULL, *buffer = NULL;
time_t secs; time_t secs;
struct tm *t; struct tm *t;