--- xmlsitemap_custom.admin.inc	2010-01-22 20:33:18.000000000 -0800
+++ xmlsitemap_custom.admin.inc	2010-01-22 20:34:48.000000000 -0800
@@ -14,7 +14,8 @@ function xmlsitemap_custom_list_links() 
   $rows = array();
 
   $sql = "SELECT id, loc, priority FROM {xmlsitemap} WHERE type = 'custom'" . tablesort_sql($header);
-  $query = db_query($sql);
+  $count_query = "SELECT COUNT(*) FROM {xmlsitemap} WHERE type = 'custom'" . tablesort_sql($header);
+  $query = pager_query($sql, 100, 0, $count_query);
   while ($link = db_fetch_object($query)) {
     $rows[] = array(
       l($link->loc, $link->loc),
@@ -31,6 +32,7 @@ function xmlsitemap_custom_list_links() 
   );
 
   $output = theme('table', $header, $rows);
+  $output .= theme('pager');
   return $output;
 }
 
