File tree 2 files changed +6
-12
lines changed 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/utils/fmgr/fmgr.c,v 1.86 2004/10/25 00:46:42 neilc Exp $
11
+ * $PostgreSQL: pgsql/src/backend/utils/fmgr/fmgr.c,v 1.87 2004/12/26 23:20:10 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
40
40
* *additionally* into %d0 for compatibility.) The price is that there are
41
41
* some warnings about int->pointer conversions...
42
42
*/
43
- #if defined(__mc68000__ ) && defined(__ELF__ )
44
- typedef int32 ((* func_ptr ) ());
45
-
43
+ #if (defined(__mc68000__ ) || (defined(__m68k__ ))) && defined(__ELF__ )
44
+ typedef int32 (* func_ptr ) ();
46
45
#else
47
- typedef char * (( * func_ptr ) () );
46
+ typedef char * ( * func_ptr ) ();
48
47
#endif
49
48
50
49
/*
Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.135 2004/10/09 23:13:06 tgl Exp $
11
+ * $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.136 2004/12/26 23:20:12 tgl Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -915,12 +915,7 @@ ValidatePgVersion(const char *path)
915
915
*-------------------------------------------------------------------------
916
916
*/
917
917
918
- #if defined(__mc68000__ ) && defined(__ELF__ )
919
- typedef int32 ((* func_ptr ) ());
920
-
921
- #else
922
- typedef char * ((* func_ptr ) ());
923
- #endif
918
+ typedef void (* func_ptr ) ();
924
919
925
920
/*
926
921
* process any libraries that should be preloaded and
You can’t perform that action at this time.
0 commit comments