alloc.c (147073) | alloc.c (149399) |
---|---|
1/* $OpenBSD: alloc.c,v 1.9 2004/05/04 20:28:40 deraadt Exp $ */ 2 3/* Memory allocation... */ 4 5/* 6 * Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. 7 * All rights reserved. 8 * --- 26 unchanged lines hidden (view full) --- 35 * 36 * This software has been written for the Internet Software Consortium 37 * by Ted Lemon <mellon@fugue.com> in cooperation with Vixie 38 * Enterprises. To learn more about the Internet Software Consortium, 39 * see ``http://www.vix.com/isc''. To learn more about Vixie 40 * Enterprises, see ``http://www.vix.com''. 41 */ 42 | 1/* $OpenBSD: alloc.c,v 1.9 2004/05/04 20:28:40 deraadt Exp $ */ 2 3/* Memory allocation... */ 4 5/* 6 * Copyright (c) 1995, 1996, 1998 The Internet Software Consortium. 7 * All rights reserved. 8 * --- 26 unchanged lines hidden (view full) --- 35 * 36 * This software has been written for the Internet Software Consortium 37 * by Ted Lemon <mellon@fugue.com> in cooperation with Vixie 38 * Enterprises. To learn more about the Internet Software Consortium, 39 * see ``http://www.vix.com/isc''. To learn more about Vixie 40 * Enterprises, see ``http://www.vix.com''. 41 */ 42 |
43#include <sys/cdefs.h> 44__FBSDID("$FreeBSD: head/sbin/dhclient/alloc.c 149399 2005-08-23 23:59:55Z brooks $"); 45 |
|
43#include "dhcpd.h" 44 45struct string_list * 46new_string_list(size_t size) 47{ 48 struct string_list *rval; 49 50 rval = calloc(1, sizeof(struct string_list) + size); --- 26 unchanged lines hidden --- | 46#include "dhcpd.h" 47 48struct string_list * 49new_string_list(size_t size) 50{ 51 struct string_list *rval; 52 53 rval = calloc(1, sizeof(struct string_list) + size); --- 26 unchanged lines hidden --- |