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:
@ -4,5 +4,5 @@ AM_CPPFLAGS = \
|
||||
noinst_LIBRARIES = libDpip.a
|
||||
|
||||
libDpip_a_SOURCES = \
|
||||
dpip.h \
|
||||
dpip.c
|
||||
dpip.hh \
|
||||
dpip.cc
|
||||
|
@ -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
|
@ -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
|
||||
*/
|
Reference in New Issue
Block a user