aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPavel Janík2001-11-02 20:46:55 +0000
committerPavel Janík2001-11-02 20:46:55 +0000
commitb78265036088d5d0eac2a03b929adb50aa59b45c (patch)
treede99fe733144deb926fd31ee7bdff95cb1bc5073 /src/alloc.c
parent00a2cef7d11a1b193891eb3d28274ef7fc7c3fe4 (diff)
downloademacs-b78265036088d5d0eac2a03b929adb50aa59b45c.tar.gz
emacs-b78265036088d5d0eac2a03b929adb50aa59b45c.zip
Update usage of CHECK_ macros (remove unused second argument).
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 6340761c880..3545f5256f2 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1668,8 +1668,8 @@ Both LENGTH and INIT must be numbers. */)
1668 register unsigned char *p, *end; 1668 register unsigned char *p, *end;
1669 int c, nbytes; 1669 int c, nbytes;
1670 1670
1671 CHECK_NATNUM (length, 0); 1671 CHECK_NATNUM (length);
1672 CHECK_NUMBER (init, 1); 1672 CHECK_NUMBER (init);
1673 1673
1674 c = XINT (init); 1674 c = XINT (init);
1675 if (SINGLE_BYTE_CHAR_P (c)) 1675 if (SINGLE_BYTE_CHAR_P (c))
@@ -1713,7 +1713,7 @@ LENGTH must be a number. INIT matters only in whether it is t or nil. */)
1713 int real_init, i; 1713 int real_init, i;
1714 int length_in_chars, length_in_elts, bits_per_value; 1714 int length_in_chars, length_in_elts, bits_per_value;
1715 1715
1716 CHECK_NATNUM (length, 0); 1716 CHECK_NATNUM (length);
1717 1717
1718 bits_per_value = sizeof (EMACS_INT) * BITS_PER_CHAR; 1718 bits_per_value = sizeof (EMACS_INT) * BITS_PER_CHAR;
1719 1719
@@ -2157,7 +2157,7 @@ DEFUN ("make-list", Fmake_list, Smake_list, 2, 2, 0,
2157 register Lisp_Object val; 2157 register Lisp_Object val;
2158 register int size; 2158 register int size;
2159 2159
2160 CHECK_NATNUM (length, 0); 2160 CHECK_NATNUM (length);
2161 size = XFASTINT (length); 2161 size = XFASTINT (length);
2162 2162
2163 val = Qnil; 2163 val = Qnil;
@@ -2347,7 +2347,7 @@ See also the function `vector'. */)
2347 register int index; 2347 register int index;
2348 register struct Lisp_Vector *p; 2348 register struct Lisp_Vector *p;
2349 2349
2350 CHECK_NATNUM (length, 0); 2350 CHECK_NATNUM (length);
2351 sizei = XFASTINT (length); 2351 sizei = XFASTINT (length);
2352 2352
2353 p = allocate_vector (sizei); 2353 p = allocate_vector (sizei);
@@ -2369,9 +2369,9 @@ The property's value should be an integer between 0 and 10. */)
2369{ 2369{
2370 Lisp_Object vector; 2370 Lisp_Object vector;
2371 Lisp_Object n; 2371 Lisp_Object n;
2372 CHECK_SYMBOL (purpose, 1); 2372 CHECK_SYMBOL (purpose);
2373 n = Fget (purpose, Qchar_table_extra_slots); 2373 n = Fget (purpose, Qchar_table_extra_slots);
2374 CHECK_NUMBER (n, 0); 2374 CHECK_NUMBER (n);
2375 if (XINT (n) < 0 || XINT (n) > 10) 2375 if (XINT (n) < 0 || XINT (n) > 10)
2376 args_out_of_range (n, Qnil); 2376 args_out_of_range (n, Qnil);
2377 /* Add 2 to the size for the defalt and parent slots. */ 2377 /* Add 2 to the size for the defalt and parent slots. */
@@ -2521,7 +2521,7 @@ Its value and function definition are void, and its property list is nil. */)
2521 register Lisp_Object val; 2521 register Lisp_Object val;
2522 register struct Lisp_Symbol *p; 2522 register struct Lisp_Symbol *p;
2523 2523
2524 CHECK_STRING (name, 0); 2524 CHECK_STRING (name);
2525 2525
2526 if (symbol_free_list) 2526 if (symbol_free_list)
2527 { 2527 {