ObjFW  Diff

Differences From Artifact [9c609e758d]:

To Artifact [0c80605e9d]:


18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#include <string.h>

#include <time.h>

#import "macros.h"

const char*
of_strptime(const char *buffer, const char *format, struct tm *tm, int16_t *tz)
{
	enum {
		SEARCH_CONVERSION_SPECIFIER,
		IN_CONVERSION_SPECIFIER
	} state = SEARCH_CONVERSION_SPECIFIER;
	size_t j, bufferLen, formatLen;







|







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#include <string.h>

#include <time.h>

#import "macros.h"

const char *
of_strptime(const char *buffer, const char *format, struct tm *tm, int16_t *tz)
{
	enum {
		SEARCH_CONVERSION_SPECIFIER,
		IN_CONVERSION_SPECIFIER
	} state = SEARCH_CONVERSION_SPECIFIER;
	size_t j, bufferLen, formatLen;