etc/services - sync with NetBSD-8
[minix.git] / usr.bin / sdiff / common.c
blobef3136f1a60707a1e5b1e2a9500fa525621dadb6
1 /* $NetBSD: common.c,v 1.1 2007/02/18 22:13:42 rmind Exp $ */
2 /* $OpenBSD: common.c,v 1.4 2006/05/25 03:20:32 ray Exp $ */
4 /*
5 * Written by Raymond Lai <ray@cyth.net>.
6 * Public domain.
7 */
9 #include <err.h>
10 #include <stdlib.h>
11 #include <unistd.h>
13 #include "common.h"
15 void
16 cleanup(const char *filename)
18 if (unlink(filename))
19 err(2, "could not delete: %s", filename);
20 exit(2);