]> git.marmaro.de Git - mmh/commitdiff
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 a233c685cd5dc1ea5217ba306b958b574f7a9a72..c0320226daf06050cc6a303479e422f234c1a6e1 100644 (file)
@@ -51,7 +51,7 @@ char *version=VERSION;
 ** Directory to place tmp files.  This must
 ** be set before these routines are called.
 */
-char *tmp;
+extern char *tmp;
 
 pid_t xpid = 0;