mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-26 16:54:11 +00:00
Fix some undeclared functions
by adding the proper #includes. gcc warned with "warning: incompatible implicit declaration of built-in function 'foo'".
This commit is contained in:
@@ -40,6 +40,7 @@ static int decosfcclossage;
|
||||
#if KLH10_DEV_DP /* Moby conditional for entire file */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h> /* For strerror() if present */
|
||||
|
||||
#include "dpsup.h"
|
||||
|
||||
@@ -48,6 +48,7 @@ static int decosfcclossage;
|
||||
#if KLH10_CPU_KS /* Moby conditional for entire file */
|
||||
|
||||
#include <stdio.h> /* For stderr if buggy */
|
||||
#include <string.h>
|
||||
|
||||
#include "kn10def.h"
|
||||
#include "kn10ops.h"
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h> /* For strrchr */
|
||||
|
||||
#include "klh10.h"
|
||||
|
||||
Reference in New Issue
Block a user