[svn:parrot] r47867 - in branches/cfunctionsdocs: . config/gen/platform/generic t/codingstd
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Sat Jun 26 13:31:35 UTC 2010
Author: jkeenan
Date: Sat Jun 26 13:31:35 2010
New Revision: 47867
URL: https://trac.parrot.org/parrot/changeset/47867
Log:
Delete config/gen/platform/generic/memalign.c. No longer needed per doughera++.
Deleted:
branches/cfunctionsdocs/config/gen/platform/generic/memalign.c
Modified:
branches/cfunctionsdocs/MANIFEST
branches/cfunctionsdocs/t/codingstd/c_function_docs.t
Modified: branches/cfunctionsdocs/MANIFEST
==============================================================================
--- branches/cfunctionsdocs/MANIFEST Sat Jun 26 13:10:22 2010 (r47866)
+++ branches/cfunctionsdocs/MANIFEST Sat Jun 26 13:31:35 2010 (r47867)
@@ -1,7 +1,7 @@
# ex: set ro:
# $Id$
#
-# generated by tools/dev/mk_manifest_and_skip.pl Sat Jun 26 00:20:03 2010 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Sat Jun 26 13:30:18 2010 UT
#
# See below for documentation on the format of this file.
#
@@ -287,7 +287,6 @@
config/gen/platform/generic/itimer.c []
config/gen/platform/generic/math.c []
config/gen/platform/generic/math.h []
-config/gen/platform/generic/memalign.c []
config/gen/platform/generic/memexec.c []
config/gen/platform/generic/platform_limits.h []
config/gen/platform/generic/signal.c []
Deleted: branches/cfunctionsdocs/config/gen/platform/generic/memalign.c
==============================================================================
--- branches/cfunctionsdocs/config/gen/platform/generic/memalign.c Sat Jun 26 13:31:35 2010 (r47866)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,94 +0,0 @@
-/*
- * $Id$
- * Copyright (C) 2004-2006, Parrot Foundation.
- */
-
-/*
-
-=head1 NAME
-
-config/gen/platform/generic/memalign.c
-
-=head1 DESCRIPTION
-
-memalign related stuff
-
-=head2 Functions
-
-=over 4
-
-=cut
-
-*/
-
-#if defined(PARROT_HAS_POSIX_MEMALIGN)
-# include <stdlib.h>
-
-/*
-
-=item C<void * Parrot_memalign(size_t align, size_t size)>
-
-=cut
-
-*/
-
-void *
-Parrot_memalign(size_t align, size_t size)
-{
- void *p;
- int i = posix_memalign(&p, align, size);
- return i == 0 ? p : NULL;
-}
-
-#elif defined(PARROT_HAS_MEMALIGN)
-
-# if defined(PARROT_HAS_HEADER_MALLOC)
-# include <malloc.h>
-# else
-# include <stdlib.h>
-# endif
-
-/*
-
-=item C<void * Parrot_memalign(size_t align, size_t size)>
-
-=cut
-
-*/
-
-void *
-Parrot_memalign(size_t align, size_t size)
-{
- return memalign(align, size);
-}
-
-#endif
-
-/*
-
-=item C<void Parrot_free_memalign(void *p)>
-
-=cut
-
-*/
-
-void
-Parrot_free_memalign(void *p)
-{
- free(p);
-}
-
-/*
-
-=back
-
-=cut
-
-*/
-
-/*
- * Local variables:
- * c-file-style: "parrot"
- * End:
- * vim: expandtab shiftwidth=4:
- */
Modified: branches/cfunctionsdocs/t/codingstd/c_function_docs.t
==============================================================================
--- branches/cfunctionsdocs/t/codingstd/c_function_docs.t Sat Jun 26 13:10:22 2010 (r47866)
+++ branches/cfunctionsdocs/t/codingstd/c_function_docs.t Sat Jun 26 13:31:35 2010 (r47867)
@@ -92,8 +92,6 @@
__DATA__
compilers/pirc/src/pircapi.c
-config/gen/platform/darwin/memalign.c
-config/gen/platform/generic/memalign.c
# Local Variables:
# mode: cperl
More information about the parrot-commits
mailing list