/*
- * $Id: server_child.c,v 1.7.4.1.2.4.2.1 2005-03-31 00:25:55 didg Exp $
+ * $Id: server_child.c,v 1.7.4.1.2.4.2.2 2008-11-25 15:16:35 didg Exp $
*
* Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
* All rights reserved. See COPYRIGHT.
#include <atalk/server_child.h>
-#ifndef __inline__
-#define __inline__
-#endif /* ! __inline__ */
-
/* hash/child functions: hash OR's pid */
#define CHILD_HASHSIZE 32
#define HASH(i) ((((i) >> 8) ^ (i)) & (CHILD_HASHSIZE - 1))
} server_child_fork;
-static __inline__ void hash_child(struct server_child_data **htable,
+static inline void hash_child(struct server_child_data **htable,
struct server_child_data *child)
{
struct server_child_data **table;
child->prevp = table;
}
-static __inline__ void unhash_child(struct server_child_data *child)
+static inline void unhash_child(struct server_child_data *child)
{
if (child->prevp) {
if (child->next)
}
}
-static __inline__ struct server_child_data
+static inline struct server_child_data
*resolve_child(struct server_child_data **table, const pid_t pid)
{
struct server_child_data *child;