]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Mark atimer allocation as ambiguous root"
authorGerd Möllmann <gerd@gnu.org>
Wed, 6 Nov 2024 13:34:47 +0000 (14:34 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:54:19 +0000 (15:54 +0100)
This reverts commit c42b90b21a4efb3c5a8ebc6e3bd6be2908d1f2ac.

(cherry picked from commit cc3c05cad9ef42cd7b0231efdbdba228aa06de92)

src/atimer.c

index 5bd282a310d897745886bb21d2388c8fedfcc962..8253ae3a166cde3b2b18b54a311b3c7540833c62 100644 (file)
@@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 
 #include <config.h>
-#include "igc.h"
 
 #ifdef WINDOWSNT
 #define raise(s) w32_raise(s)
@@ -133,13 +132,7 @@ start_atimer (enum atimer_type type, struct timespec timestamp,
       free_atimers = t->next;
     }
   else
-    {
-#ifdef HAVE_MPS
-      t = igc_xzalloc_ambig (sizeof *t);
-#else
-      t = xmalloc (sizeof *t);
-#endif
-    }
+    t = xmalloc (sizeof *t);
 
   /* Fill the atimer structure.  */
   memset (t, 0, sizeof *t);