dtcalc/calctool.h: Use include stdlib rather than extern declarations
authorJon Trulson <jon@radscan.com>
Thu, 8 Nov 2018 21:19:25 +0000 (14:19 -0700)
committerJon Trulson <jon@radscan.com>
Thu, 8 Nov 2018 21:19:25 +0000 (14:19 -0700)
cde/programs/dtcalc/calctool.h

index c676f1c3e169561082138b1888bed0e39861756c..c525ea18afdd109787199e179b59e3bcc8efebb7 100644 (file)
@@ -106,10 +106,7 @@ extern char *_DtGetMessage(char *filename, int set, int n, char *s);
 #define PS2_DIN_NAME            "PS2_DIN_KEYBOARD"
 #endif
 
-extern char *getenv   P((const char *)) ;
-extern char *mktemp   P((char *)) ;
-
-extern double drand48 P(()) ;
+#include <stdlib.h>
 
 #define  MEM   1
 #define  FIN   2