GCC Code Coverage Report | |||||||||||||||||||||
|
|||||||||||||||||||||
Line | Branch | Exec | Source |
1 |
/* $OpenBSD: common.c,v 1.4 2006/05/25 03:20:32 ray Exp $ */ |
||
2 |
|||
3 |
/* |
||
4 |
* Written by Raymond Lai <ray@cyth.net>. |
||
5 |
* Public domain. |
||
6 |
*/ |
||
7 |
|||
8 |
#include <err.h> |
||
9 |
#include <stdlib.h> |
||
10 |
#include <unistd.h> |
||
11 |
|||
12 |
#include "common.h" |
||
13 |
|||
14 |
void |
||
15 |
cleanup(const char *filename) |
||
16 |
{ |
||
17 |
if (unlink(filename)) |
||
18 |
err(2, "could not delete: %s", filename); |
||
19 |
exit(2); |
||
20 |
} |
Generated by: GCOVR (Version 3.3) |