commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd-l4/libhurd-slab slab.h


From: Marcus Brinkmann
Subject: hurd-l4/libhurd-slab slab.h
Date: Sat, 04 Oct 2003 11:54:02 -0400

CVSROOT:        /cvsroot/hurd
Module name:    hurd-l4
Branch:         
Changes by:     Marcus Brinkmann <address@hidden>       03/10/04 11:54:02

Modified files:
        libhurd-slab   : slab.h 

Log message:
        Reorder a couple of lines.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libhurd-slab/slab.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: hurd-l4/libhurd-slab/slab.h
diff -u hurd-l4/libhurd-slab/slab.h:1.4 hurd-l4/libhurd-slab/slab.h:1.5
--- hurd-l4/libhurd-slab/slab.h:1.4     Mon Sep 22 10:36:05 2003
+++ hurd-l4/libhurd-slab/slab.h Sat Oct  4 11:54:01 2003
@@ -1,4 +1,5 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* slab.h - The GNU Hurd slab allocator interface.
+   Copyright (C) 2003 Free Software Foundation, Inc.
    Written by Marcus Brinkmann <address@hidden>
 
    This file is part of the GNU Hurd.
@@ -24,16 +25,16 @@
 #include <errno.h>
 
 
+/* A slab space is an opaque type.  */
+struct hurd_slab_space;
+typedef struct hurd_slab_space *hurd_slab_space_t;
+
 /* Initialize the slab object pointed to by BUFFER.  */
 typedef error_t (*hurd_slab_constructor_t) (void *buffer);
 
 /* Destroy the slab object pointed to by BUFFER.  */
 typedef void (*hurd_slab_destructor_t) (void *buffer);
 
-struct hurd_slab_space;
-typedef struct hurd_slab_space *hurd_slab_space_t;
-
-
 /* Create a new slab space with the given object size, alignment, 
    constructor and destructor.  ALIGNMENT can be zero.  */
 error_t hurd_slab_create (size_t size, size_t alignment,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]