version 1.76, 2010/06/19 20:46:28 |
version 1.82, 2010/07/13 23:53:20 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 94 man_free(struct man *man) |
|
Line 94 man_free(struct man *man) |
|
|
|
|
|
struct man * |
struct man * |
man_alloc(void *data, int pflags, mandocmsg msg) |
man_alloc(struct regset *regs, void *data, |
|
int pflags, mandocmsg msg) |
{ |
{ |
struct man *p; |
struct man *p; |
|
|
Line 104 man_alloc(void *data, int pflags, mandocmsg msg) |
|
Line 105 man_alloc(void *data, int pflags, mandocmsg msg) |
|
p->data = data; |
p->data = data; |
p->pflags = pflags; |
p->pflags = pflags; |
p->msg = msg; |
p->msg = msg; |
|
p->regs = regs; |
|
|
man_alloc1(p); |
man_alloc1(p); |
return(p); |
return(p); |