Browse Source

Add strptime into the source pool for those systems that don't have it.

Originally committed as revision 818 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Philip Gladstone 23 years ago
parent
commit
dcb7d9cbe0
2 changed files with 1036 additions and 0 deletions
  1. +1004
    -0
      libav/strptime.c
  2. +32
    -0
      libav/strptime.h

+ 1004
- 0
libav/strptime.c
File diff suppressed because it is too large
View File


+ 32
- 0
libav/strptime.h View File

@@ -0,0 +1,32 @@
/* strptime.h
*
* $Id$
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#ifndef __STRPTIME_H__
#define __STRPTIME_H__

/*
* Version of "strptime()", for the benefit of OSes that don't have it.
*/
extern char *strptime(const char *, const char *, struct tm *);

#endif

Loading…
Cancel
Save