Add externs to avoid multiple definitions, and then add missing definitions.
[rrq/maintain_lilo.git] / src / temp.h
1 /* temp.h  -  Temporary file registry
2  * 
3  * Copyright 1992-1995 Werner Almesberger
4  * Copyright 1999-2004 John Coffman
5  * Copyright 2009-2011 Joachim Wiedorn
6  * All rights reserved.
7  * 
8  * Licensed under the terms contained in the file 'COPYING'
9  * in the source directory.
10  */
11
12 #ifndef TEMP_H
13 #define TEMP_H
14
15 #define temp_check(x) ((x)!=LILO)
16
17 void temp_register(char *name);
18
19 /* Registers a file for removal at exit. */
20
21 void temp_unregister(char *name);
22
23 /* Removes the specified file from the temporary file list. */
24
25 void temp_remove(void);
26
27 /* Removes all temporary files. */
28
29 #endif