ObjFW  Check-in [b70dcd58e9]

Overview
Comment:Fix missing static
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b70dcd58e9e367e2e915fe3c381502c8c2165e4af5e66cf644e3fb6dac067f9d
User & Date: js on 2020-12-21 22:22:46
Other Links: manifest | tags
Context
2020-12-22
00:50
Don't use stat() on MorphOS check-in: 46588d658c user: js tags: trunk
2020-12-21
22:22
Fix missing static check-in: b70dcd58e9 user: js tags: trunk
22:22
runtime: Fix double initialization check-in: 68eef83aae user: js tags: trunk
Changes

Modified src/OFDate.m from [3c5313a6f3] to [d8bff9d62d].

107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
	return seconds;
}

#if (!defined(HAVE_GMTIME_R) || !defined(HAVE_LOCALTIME_R)) && \
    defined(OF_HAVE_THREADS)
static OFMutex *mutex;

void
releaseMutex(void)
{
	[mutex release];
}
#endif

#ifdef OF_WINDOWS







|







107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
	return seconds;
}

#if (!defined(HAVE_GMTIME_R) || !defined(HAVE_LOCALTIME_R)) && \
    defined(OF_HAVE_THREADS)
static OFMutex *mutex;

static void
releaseMutex(void)
{
	[mutex release];
}
#endif

#ifdef OF_WINDOWS

Modified src/OFFileURLHandler.m from [9a74cc5a07] to [3e5094e795].

106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# define S_IFLNK 0x10000
# define S_ISLNK(mode) (mode & S_IFLNK)
#endif

#if defined(OF_FILE_MANAGER_SUPPORTS_OWNER) && defined(OF_HAVE_THREADS)
static OFMutex *passwdMutex;

void
releasePasswdMutex(void)
{
	[passwdMutex release];
}
#endif
#if !defined(HAVE_READDIR_R) && defined(OF_HAVE_THREADS) && !defined(OF_WINDOWS)
static OFMutex *readdirMutex;

void
releaseReaddirMutex(void)
{
	[readdirMutex release];
}
#endif

#ifdef OF_WINDOWS







|








|







106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# define S_IFLNK 0x10000
# define S_ISLNK(mode) (mode & S_IFLNK)
#endif

#if defined(OF_FILE_MANAGER_SUPPORTS_OWNER) && defined(OF_HAVE_THREADS)
static OFMutex *passwdMutex;

static void
releasePasswdMutex(void)
{
	[passwdMutex release];
}
#endif
#if !defined(HAVE_READDIR_R) && defined(OF_HAVE_THREADS) && !defined(OF_WINDOWS)
static OFMutex *readdirMutex;

static void
releaseReaddirMutex(void)
{
	[readdirMutex release];
}
#endif

#ifdef OF_WINDOWS

Modified src/OFURLHandler.m from [83ca64083c] to [b3dc531a71].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# import "OFHTTPURLHandler.h"
#endif

static OFMutableDictionary OF_GENERIC(OFString *, OFURLHandler *) *handlers;
#ifdef OF_HAVE_THREADS
static OFMutex *mutex;

void
releaseMutex(void)
{
	[mutex release];
}
#endif

@implementation OFURLHandler







|







33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# import "OFHTTPURLHandler.h"
#endif

static OFMutableDictionary OF_GENERIC(OFString *, OFURLHandler *) *handlers;
#ifdef OF_HAVE_THREADS
static OFMutex *mutex;

static void
releaseMutex(void)
{
	[mutex release];
}
#endif

@implementation OFURLHandler