ObjFW  Check-in [eac02d83d6]

Overview
Comment:Add missing extern for of_init()
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | amiga-library
Files: files | file ages | folders
SHA3-256: eac02d83d6559e6829fa20bcfddbeaf3ba76ca0bf0a92e0b27ba1f8056ba1227
User & Date: js on 2020-06-07 15:36:16
Other Links: branch diff | manifest | tags
Context
2020-06-07
16:03
Add libc symbols needed by the runtime to of_libc check-in: f822adb905 user: js tags: amiga-library
15:36
Add missing extern for of_init() check-in: eac02d83d6 user: js tags: amiga-library
2020-06-06
22:43
Add and use STATIC_AMIGA_LIB_NOINST targets check-in: e8c7459ec7 user: js tags: amiga-library
Changes

Modified src/amiga-glue.m from [41b93239bf] to [2619f44789].

40
41
42
43
44
45
46
47
48
49
50
51
#endif

bool __saveds
glue_of_init PPC_PARAMS(unsigned int version, struct of_libc *libc,
    FILE *stderr_)
{
	M68K_ARG(unsigned int, version, d0)
	M68K_ARG(struct objc_libc *, libc, a0)
	M68K_ARG(FILE *, stderr_, a1)

	return of_init(version, libc, stderr_);
}







|




40
41
42
43
44
45
46
47
48
49
50
51
#endif

bool __saveds
glue_of_init PPC_PARAMS(unsigned int version, struct of_libc *libc,
    FILE *stderr_)
{
	M68K_ARG(unsigned int, version, d0)
	M68K_ARG(struct of_libc *, libc, a0)
	M68K_ARG(FILE *, stderr_, a1)

	return of_init(version, libc, stderr_);
}

Modified src/amiga-library.h from [b32c2f897d] to [131927e635].

31
32
33
34
35
36
37


38
	void (*_Nonnull abort)(void);
	char *_Nullable (*_Nonnull setlocale)(int, const char *_Nullable);
	void (*_Nonnull __register_frame_info)(const void *_Nonnull,
	    void *_Nonnull);
	void *_Nullable (*_Nonnull __deregister_frame_info)(
	    const void *_Nonnull);
};


#endif







>
>

31
32
33
34
35
36
37
38
39
40
	void (*_Nonnull abort)(void);
	char *_Nullable (*_Nonnull setlocale)(int, const char *_Nullable);
	void (*_Nonnull __register_frame_info)(const void *_Nonnull,
	    void *_Nonnull);
	void *_Nullable (*_Nonnull __deregister_frame_info)(
	    const void *_Nonnull);
};

extern bool of_init(unsigned int version, struct of_libc *libc_, FILE *stderr_);
#endif