1
0
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:
Olaf Seibert
2015-05-04 00:47:36 +02:00
parent aad94caa2f
commit 9800c5b768
4 changed files with 4 additions and 0 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -52,6 +52,7 @@
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>

View File

@@ -44,6 +44,7 @@
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* For strrchr */
#include "klh10.h"