Rename non-js utility sources to not have the 'js' prefix.

This commit is contained in:
Tor Andersson
2014-01-28 01:34:41 +01:00
parent de3aa34aed
commit e8dfb4e624
7 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
SRCS := $(wildcard js*.c)
HDRS := $(wildcard js*.h)
SRCS := $(wildcard js*.c utf*.c)
HDRS := $(wildcard js*.h utf.h)
OBJS := $(SRCS:%.c=build/%.o)
CFLAGS = -Wall -g
+1 -1
View File
@@ -1,6 +1,6 @@
#include "jsi.h"
#include "jslex.h"
#include "jsutf.h"
#include "utf.h"
#define nelem(a) (sizeof (a) / sizeof (a)[0])
+1 -1
View File
@@ -1,7 +1,7 @@
#include "jsi.h"
#include "jsvalue.h"
#include "jsbuiltin.h"
#include "jsutf.h"
#include "utf.h"
static int jsB_new_String(js_State *J, int argc)
{
+1 -1
View File
@@ -1,7 +1,7 @@
#include "jsi.h"
#include "jscompile.h"
#include "jsvalue.h"
#include "jsutf.h"
#include "utf.h"
double jsV_numbertointeger(double n)
{
+1 -3
View File
@@ -14,9 +14,7 @@
#include <stdlib.h>
#include <string.h>
#include "jsutf.h"
#define uchar jsU_uchar
#include "utf.h"
typedef unsigned char uchar;
View File
+1 -1
View File
@@ -1,4 +1,4 @@
#include "jsutf.h"
#include "utf.h"
#define bsearch jsU_bsearch
#define nelem(a) (sizeof (a) / sizeof (a)[0])