comparison src/mc-alloc.c @ 5054:24372c7e0e8f

fix build problem with pdump -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-21 Ben Wing <ben@xemacs.org> * gc.c (kkcc_marking): Fix compile error. * mc-alloc.c: #if 0 out some unused functions.
author Ben Wing <ben@xemacs.org>
date Sun, 21 Feb 2010 20:58:45 -0600
parents 92dc90c0bb40
children 88bd4f3ef8e4
comparison
equal deleted inserted replaced
5053:0e803dc6f096 5054:24372c7e0e8f
1780 } 1780 }
1781 1781
1782 1782
1783 /*--- incremental garbage collector ----------------------------------*/ 1783 /*--- incremental garbage collector ----------------------------------*/
1784 1784
1785 #if 0 /* currently unused */
1786
1785 /* access dirty bit of page header */ 1787 /* access dirty bit of page header */
1786 static void 1788 static void
1787 set_dirty_bit (page_header *ph, unsigned int value) 1789 set_dirty_bit (page_header *ph, unsigned int value)
1788 { 1790 {
1789 PH_DIRTY_BIT (ph) = value; 1791 PH_DIRTY_BIT (ph) = value;
1838 static void * 1840 static void *
1839 get_page_start (void *ptr) 1841 get_page_start (void *ptr)
1840 { 1842 {
1841 return PH_HEAP_SPACE (get_page_header (ptr)); 1843 return PH_HEAP_SPACE (get_page_header (ptr));
1842 } 1844 }
1845
1846 #endif /* 0 */
1843 1847
1844 /* Make PAGE_SIZE globally available. */ 1848 /* Make PAGE_SIZE globally available. */
1845 EMACS_INT 1849 EMACS_INT
1846 mc_get_page_size () 1850 mc_get_page_size ()
1847 { 1851 {