comparison dyncallback/dyncall_thunk_ppc32.c @ 97:d0787f3b81fb

- internal linkage for some helper functions - corrected and added some comments for clarification
author cslag
date Sat, 04 Jun 2016 19:35:58 +0200
parents 3e629dc19168
children bbefb8b8e74c
comparison
equal deleted inserted replaced
96:95f67e67feb0 97:d0787f3b81fb
24 */ 24 */
25 25
26 26
27 #include "dyncall_thunk.h" 27 #include "dyncall_thunk.h"
28 28
29 unsigned short hi16(x) { return ( (unsigned short) (((unsigned int)x)>>16UL) ); } 29 static unsigned short hi16(x) { return ( (unsigned short) (((unsigned int)x)>>16UL) ); }
30 unsigned short lo16(x) { return ( (unsigned short) ((unsigned int)x) ); } 30 static unsigned short lo16(x) { return ( (unsigned short) ((unsigned int)x) ); }
31 31
32 void dcbInitThunk(DCThunk* p, void (*entry)()) 32 void dcbInitThunk(DCThunk* p, void (*entry)())
33 { 33 {
34 /* 34 /*
35 ppc32 thunk code: 35 ppc32 thunk code: