]> git.tuebingen.mpg.de Git - osl.git/blobdiff - examples/osltar/osltar.c
Merge branch 'refs/heads/t/sha3' into master
[osl.git] / examples / osltar / osltar.c
index 3d3a6400a6425ed3ba4eddd624145af968b63edf..840ddc3772b0f8bd559e52e717921a984e5e8af9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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.
  */
@@ -34,12 +34,6 @@ enum osltar_columns {
 };
 
 
-/**
- * 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.
  *
@@ -52,7 +46,7 @@ enum osltar_columns {
  *
  * \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;
@@ -220,7 +214,7 @@ static int com_create(int argc, char **argv)
 /**
  * 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) {