Deleted Added
full compact
mem2.c (91592) mem2.c (148723)
1/* $NetBSD: mem2.c,v 1.6 2002/01/21 19:49:52 tv Exp $ */
2
3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 21 unchanged lines hidden (view full) ---

30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35#if defined(__RCSID) && !defined(lint)
36__RCSID("$NetBSD: mem2.c,v 1.6 2002/01/21 19:49:52 tv Exp $");
37#endif
1/* $NetBSD: mem2.c,v 1.6 2002/01/21 19:49:52 tv Exp $ */
2
3/*
4 * Copyright (c) 1994, 1995 Jochen Pohl
5 * All Rights Reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 21 unchanged lines hidden (view full) ---

30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35#if defined(__RCSID) && !defined(lint)
36__RCSID("$NetBSD: mem2.c,v 1.6 2002/01/21 19:49:52 tv Exp $");
37#endif
38__FBSDID("$FreeBSD: head/usr.bin/xlint/lint2/mem2.c 91592 2002-03-03 15:12:50Z markm $");
38__FBSDID("$FreeBSD: head/usr.bin/xlint/lint2/mem2.c 148723 2005-08-05 09:07:42Z stefanf $");
39
40#include <sys/param.h>
41#include <sys/types.h>
42#include <sys/mman.h>
39
40#include <sys/param.h>
41#include <sys/types.h>
42#include <sys/mman.h>
43#include <err.h>
43#include <unistd.h>
44#include <string.h>
45
46#include "lint2.h"
47
48/* length of new allocated memory blocks */
49static size_t mblklen;
50

--- 46 unchanged lines hidden ---
44#include <unistd.h>
45#include <string.h>
46
47#include "lint2.h"
48
49/* length of new allocated memory blocks */
50static size_t mblklen;
51

--- 46 unchanged lines hidden ---