Searched refs:UNCONST (Results 1 – 15 of 15) sorted by relevance
/dragonfly/contrib/dhcpcd/src/ |
H A D | privsep-control.c | 85 return control_queue(fd, UNCONST(VERSION), in ps_ctl_handleargs() 89 return control_queue(fd, UNCONST(fd->ctx->cffile), in ps_ctl_handleargs()
|
H A D | common.h | 58 #define UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro
|
H A D | privsep.c | 838 namep = UNCONST(data); in ps_unrollmsg() 882 { .iov_base = UNCONST(psm), .iov_len = sizeof(*psm) }, in ps_sendpsmmsg() 943 { .iov_base = UNCONST(data), .iov_len = len }, in ps_sendpsmdata() 1005 { .iov_base = UNCONST(data), .iov_len = len } in ps_sendcmd()
|
H A D | dhcpcd.c | 1076 ifs = if_discover(ctx, &ifaddrs, -1, UNCONST(argv)); in dhcpcd_handleinterface() 1540 return control_queue(fd, UNCONST(VERSION), in dhcpcd_handleargs() 1543 return control_queue(fd, UNCONST(fd->ctx->cffile), in dhcpcd_handleargs() 1988 ctx.script = UNCONST(dhcpcd_default_script); in main()
|
H A D | if-options.c | 599 return UNCONST(s); in strwhite() 613 return UNCONST(s); in strskipwhite() 636 return UNCONST(++s); in strend() 965 p = UNCONST(arg); in parse_option()
|
H A D | bpf.c | 335 iov[1].iov_base = UNCONST(data); in bpf_send()
|
H A D | script.c | 398 rt = rt_new(UNCONST(ifp2)); in make_env()
|
H A D | privsep-root.c | 292 if (script_buftoenv(ctx, UNCONST(envbuf), len) == NULL) in ps_root_run_script()
|
H A D | ipv6.c | 1742 ia = ipv6_iffindaddr(UNCONST(ifp), &ifp->options->req_addr6, in ipv6_env()
|
/dragonfly/contrib/bmake/ |
H A D | job.c | 1577 argv[0] = UNCONST(shellName); in JobMakeArgv() 1604 argv[argc] = UNCONST(shell->errFlag); in JobMakeArgv() 1608 argv[argc] = UNCONST(shell->echoFlag); in JobMakeArgv() 2510 free(UNCONST(shellPath)); in Job_ParseShell() 2526 path = UNCONST(shellPath); in Job_ParseShell()
|
H A D | str.c | 290 words.words[i] = UNCONST(swords.words[i].start); in Str_Words()
|
H A D | compat.c | 365 (void)execvp(av[0], (char *const *)UNCONST(av)); in Compat_RunCommand()
|
H A D | make.h | 1145 UNCONST(const void *ptr) in UNCONST() function
|
H A D | main.c | 1769 (void)execv(shellPath, UNCONST(args)); in Cmd_Exec()
|
H A D | ChangeLog | 1171 remove UNCONST from Dir_Expand
|