Rename #include'd C files from .c to .h
This commit is contained in:
parent
d69e40aa3a
commit
0701b22d29
|
@ -1,4 +1,4 @@
|
|||
#include "operators.c"
|
||||
#include "operators.h"
|
||||
|
||||
#ifdef BITS64
|
||||
#define NWORDS(sz) (((sz) + 7) >> 3)
|
10
c/flisp.c
10
c/flisp.c
|
@ -394,8 +394,8 @@ value_t alloc_vector(size_t n, int init)
|
|||
// cvalues
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
#include "cvalues.c"
|
||||
#include "types.c"
|
||||
#include "cvalues.h"
|
||||
#include "types.h"
|
||||
|
||||
// print
|
||||
// ----------------------------------------------------------------------
|
||||
|
@ -403,7 +403,7 @@ value_t alloc_vector(size_t n, int init)
|
|||
static int isnumtok(char *tok, value_t *pval);
|
||||
static inline int symchar(char c);
|
||||
|
||||
#include "print.c"
|
||||
#include "print.h"
|
||||
|
||||
// collector
|
||||
// ------------------------------------------------------------------
|
||||
|
@ -747,12 +747,12 @@ int fl_isnumber(value_t v)
|
|||
// read
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
#include "read.c"
|
||||
#include "read.h"
|
||||
|
||||
// equal
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "equal.c"
|
||||
#include "equal.h"
|
||||
|
||||
// eval
|
||||
// -----------------------------------------------------------------------
|
||||
|
|
|
@ -61,7 +61,7 @@ u_int32_t int64to32hash(u_int64_t key)
|
|||
return (u_int32_t)key;
|
||||
}
|
||||
|
||||
#include "lookup3.c"
|
||||
#include "lookup3.h"
|
||||
|
||||
u_int64_t memhash(const char *buf, size_t n)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "random.h"
|
||||
#include "timefuncs.h"
|
||||
|
||||
#include "mt19937ar.c"
|
||||
#include "mt19937ar.h"
|
||||
|
||||
double rand_double()
|
||||
{
|
||||
|
|
2
c/utf8.c
2
c/utf8.c
|
@ -256,7 +256,7 @@ size_t u8_strlen(const char *s)
|
|||
}
|
||||
|
||||
#if defined(__WIN32__)
|
||||
#include "wcwidth.c"
|
||||
#include "wcwidth.h"
|
||||
#endif
|
||||
|
||||
size_t u8_strwidth(const char *s)
|
||||
|
|
Loading…
Reference in New Issue