GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
destroy.c
Go to the documentation of this file.
1
/*
2
** Written by David Gerdes US Army Construction Engineering Research Lab
3
** April 1992
4
** Copyright 1992 USA-CERL All rights reserved.
5
**
6
*/
7
#include <grass/linkm.h>
8
9
10
void
link_destroy
(
struct
link_head *Head,
VOID_T
* ptr)
11
{
12
if
(
NULL
== ptr)
13
return
;
14
15
link__set_next
(ptr, Head->Unused);
/* ptr->next = Unused */
16
Head->Unused = ptr;
/* Unused = ptr */
17
}
lib
linkm
destroy.c
Generated on Wed Jun 6 2012 14:04:21 for GRASS Programmer's Manual by
1.8.1