remove duplicate definition of tmp in uip/mhbuild.c
authorPhilipp Takacs <philipp@bureaucracy.de>
Fri, 21 Aug 2020 15:42:07 +0000 (17:42 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Fri, 21 Aug 2020 15:42:07 +0000 (17:42 +0200)
The tmp variable is already defined in uip/mhparse.c.
This fixes a build error on FreeBSD 13

uip/mhbuild.c

index a233c68..c032022 100644 (file)
@@ -51,7 +51,7 @@ char *version=VERSION;
 ** Directory to place tmp files.  This must
 ** be set before these routines are called.
 */
 ** Directory to place tmp files.  This must
 ** be set before these routines are called.
 */
-char *tmp;
+extern char *tmp;
 
 pid_t xpid = 0;
 
 
 pid_t xpid = 0;