1/*-
2 * Copyright (c) 1999 James Howard and Dag-Erling Co��dan Sm��rgrav
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
--- 14 unchanged lines hidden (view full) ---
25 */
26
27/*
28 * A really poor man's queue. It does only what it has to and gets out of
29 * Dodge. It is used in place of <sys/queue.h> to get a better performance.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/usr.bin/grep/queue.c 211496 2010-08-19 09:28:59Z des $");
34
35#include <sys/param.h>
36#include <sys/queue.h>
37
38#include <stdlib.h>
39#include <string.h>
40
41#include "grep.h"
--- 63 unchanged lines hidden ---
2 * Copyright (c) 1999 James Howard and Dag-Erling Co��dan Sm��rgrav
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
--- 14 unchanged lines hidden (view full) ---
25 */
26
27/*
28 * A really poor man's queue. It does only what it has to and gets out of
29 * Dodge. It is used in place of <sys/queue.h> to get a better performance.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/usr.bin/grep/queue.c 211496 2010-08-19 09:28:59Z des $");
34
35#include <sys/param.h>
36#include <sys/queue.h>
37
38#include <stdlib.h>
39#include <string.h>
40
41#include "grep.h"
--- 63 unchanged lines hidden ---