X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/224c70764cab4e0e39a26aaf3ad3016552f62f55..511daa4c8e95ca3a9f4a918942d9350855df1da0:/stdlib/remque-fbsd.c diff --git a/stdlib/remque-fbsd.c b/stdlib/remque-fbsd.c deleted file mode 100644 index 068a75f..0000000 --- a/stdlib/remque-fbsd.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Initial implementation: - * Copyright (c) 2002 Robert Drehmel - * All rights reserved. - * - * As long as the above copyright statement and this notice remain - * unchanged, you can do what ever you want with this file. - */ -#include -__FBSDID("$FreeBSD: src/lib/libc/stdlib/remque.c,v 1.3 2003/01/04 07:34:41 tjr Exp $"); - -#define _SEARCH_PRIVATE -#include -#include /* for NULL */ - -void -remque(void *element) -{ - struct que_elem *prev, *next, *elem; - - elem = (struct que_elem *)element; - - prev = elem->prev; - next = elem->next; - - if (prev != NULL) - prev->next = next; - if (next != NULL) - next->prev = prev; -} diff --git a/stdlib/remque-fbsd.c b/stdlib/remque-fbsd.c new file mode 120000 index 0000000..f8680b9 --- /dev/null +++ b/stdlib/remque-fbsd.c @@ -0,0 +1 @@ +./remque.c \ No newline at end of file