/*
- * Copyright (C) 2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2009 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
};
-/**
- * We want doxygen to create documentation for certain static functions. So we
- * use __static__ for such functions.
- */
-#define __static__ static
-
/**
* Compare two osl objects of string type.
*
*
* \sa strcmp(3), strncmp(3), osl_compare_func.
*/
-__static__ int string_compare(const struct osl_object *obj1, const struct osl_object *obj2)
+static int string_compare(const struct osl_object *obj1, const struct osl_object *obj2)
{
const char *str1 = (const char *)obj1->data;
const char *str2 = (const char *)obj2->data;
/**
* Write the whole buffer to a file descriptor.
*/
-ssize_t write_all(int fd, const void *buf, size_t size)
+static ssize_t write_all(int fd, const void *buf, size_t size)
{
const char *b = buf;
while (size) {