Get some of the last remaining C files into C++

They still need to be fixed up, but they now build with C++.
This commit is contained in:
2025-08-23 02:09:47 -04:00
parent e4f1102e32
commit f283391b46
78 changed files with 172 additions and 144 deletions

View File

@ -4,5 +4,5 @@ AM_CPPFLAGS = \
noinst_LIBRARIES = libDpip.a
libDpip_a_SOURCES = \
dpip.h \
dpip.c
dpip.hh \
dpip.cc

View File

@ -19,7 +19,7 @@
#include <unistd.h> /* for close */
#include <fcntl.h> /* for fcntl */
#include "dpip.h"
#include "dpip.hh"
#include "d_size.h"
#define RBUF_SZ 16*1024

View File

@ -5,12 +5,12 @@
#ifndef __DPIP_H__
#define __DPIP_H__
#include "../dlib/dlib.hh"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "../dlib/dlib.h"
/*
* Communication mode flags
*/