Browse Source

Add some missing static declarations

v1.0-maintenance
Sami Vaarala 10 years ago
parent
commit
82f00754ac
  1. 2
      src/duk_api_stack.c
  2. 2
      src/duk_numconv.c

2
src/duk_api_stack.c

@ -1607,7 +1607,7 @@ duk_double_t duk_to_number(duk_context *ctx, duk_idx_t index) {
typedef duk_double_t (*duk__toint_coercer)(duk_hthread *thr, duk_tval *tv);
duk_double_t duk__to_int_uint_helper(duk_context *ctx, duk_idx_t index, duk__toint_coercer coerce_func) {
static duk_double_t duk__to_int_uint_helper(duk_context *ctx, duk_idx_t index, duk__toint_coercer coerce_func) {
duk_hthread *thr = (duk_hthread *) ctx;
duk_tval *tv;
duk_tval tv_tmp;

2
src/duk_numconv.c

@ -1389,7 +1389,7 @@ static void duk__dragon4_double_to_ctx(duk__numconv_stringify_ctx *nc_ctx, duk_d
nc_ctx->e = expt;
}
void duk__dragon4_ctx_to_double(duk__numconv_stringify_ctx *nc_ctx, duk_double_t *x) {
static void duk__dragon4_ctx_to_double(duk__numconv_stringify_ctx *nc_ctx, duk_double_t *x) {
duk_double_union u;
duk_small_int_t expt;
duk_small_int_t i;

Loading…
Cancel
Save