c2.h cleanup

Move most of the static functions into c2.c itself, and
only keep the public functions in c2.h
This commit is contained in:
Yuxuan Shui
2018-08-22 13:26:42 +01:00
parent e875f7566f
commit 4940a93f03
5 changed files with 375 additions and 374 deletions

View File

@ -7,8 +7,6 @@
// === Includes ===
#include "common.h"
#include <math.h>
#include <sys/select.h>
#include <limits.h>
@ -27,6 +25,9 @@
#include <errno.h>
#endif
#include "common.h"
#include "c2.h"
// == Functions ==
// inline functions must be made static to compile correctly under clang: