search for: prototypeless

Displaying 3 results from an estimated 3 matches for "prototypeless".

2020 Jul 28
2
[PATCH] Add syscall wrappers required by libkeyutils
...yscall_num = (n), ___syscall(__VA_ARGS__)) ... then have ___syscall() get the system call number from the memory variable ___syscall_num (If klibc were multithreaded it would have to be a thread-local variable, of course) and call the common syscall handler code. Interestingly enough, on i386 the prototypeless function appears to be called with the regparm convention, not the varadic convention -- not a problem, just a matter of which handler to call. Still not entirely sure what to do with s390, nor have I audited all the other architectures but perhaps there are ways around that. -hpa
2020 Jul 28
2
[PATCH] Add syscall wrappers required by libkeyutils
On Mon, 2020-07-27 at 05:46 -0700, hpa at zytor.com wrote: > On July 27, 2020 2:43:36 AM PDT, Christian Eggers <ceggers at arri.de> wrote: > > On Saturday, 25 July 2020, 23:36:33 CEST, Ben Hutchings wrote: > > > On Wed, 2020-07-08 at 08:37 +0200, Christian Eggers wrote: > > > > ... > > > > libkeyutils usually invokes syscall() directly. As syscall()
2007 Apr 25
2
[LLVMdev] Work in progress patch to speed up andersen's implementation
...t char to current object */ char *chunk_limit; /* address of char after current chunk */ PTR_INT_TYPE temp; /* Temporary for some macros. */ int alignment_mask; /* Mask of alignment for each object. */ /* These prototypes vary based on `use_extra_arg', and we use casts to the prototypeless function type in all assignments, but having prototypes here quiets -Wstrict-prototypes. */ struct _obstack_chunk *(*chunkfun) (void *, long); void (*freefun) (void *, struct _obstack_chunk *); void *extra_arg; /* first arg for chunk alloc/dealloc funcs */ unsigned use_extra_arg:1; /...