Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reindent everything (possibly breaking all branches, but for the last time)
[simgrid.git] / src / xbt / fifo_private.h
index ba3adb6..b8a74ef 100644 (file)
@@ -1,7 +1,9 @@
-/* Authors: Arnaud Legrand                                                  */
+/*     $Id$     */
+
+/* Copyright (c) 2004 Arnaud Legrand. All rights reserved.                  */
 
 /* This program is free software; you can redistribute it and/or modify it
  under the terms of the license (GNU LGPL) which comes with this package. */
* under the terms of the license (GNU LGPL) which comes with this package. */
 
 #ifndef _XBT_FIFO_PRIVATE_H
 #define _XBT_FIFO_PRIVATE_H
@@ -26,6 +28,7 @@ typedef struct xbt_fifo {
 #define xbt_fifo_getNextitem(i) ((i)?(i)->next:NULL)
 #define xbt_fifo_getPrevitem(i) ((i)?(i)->prev:NULL)
 #define xbt_fifo_getItemcontent(i) ((i)?(i)->content:NULL)
+#define xbt_fifo_Itemcontent(i) ((i)->content)
 #define xbt_fifo_setItemcontent(i,v) (i->content=v)
 
 
@@ -44,4 +47,4 @@ typedef struct xbt_fifo {
 /*   return NULL; */
 /* } */
 
-#endif                         /* _XBT_FIFO_PRIVATE_H */
+#endif /* _XBT_FIFO_PRIVATE_H */