chiark / gitweb /
rename udev_libc_wrapper -> udev_sysdeps
authorKay Sievers <kay.sievers@suse.de>
Wed, 16 Aug 2006 00:04:04 +0000 (02:04 +0200)
committerKay Sievers <kay.sievers@suse.de>
Wed, 16 Aug 2006 00:04:04 +0000 (02:04 +0200)
Makefile
udev.h
udev_sysdeps.c [moved from udev_libc_wrapper.c with 95% similarity]
udev_sysdeps.h [moved from udev_libc_wrapper.h with 94% similarity]

index 209ab10487d32b0e73eca50bab973de326bc170a..1b3815f3bb7069f663624d99b28ae3d9346a1908 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ HEADERS = \
        udevd.h                         \
        udev_rules.h                    \
        logging.h                       \
-       udev_libc_wrapper.h             \
+       udev_sysdeps.h                  \
        udev_selinux.h                  \
        list.h
 
@@ -75,7 +75,7 @@ UDEV_OBJS = \
        udev_utils_string.o             \
        udev_utils_file.o               \
        udev_utils_run.o                \
-       udev_libc_wrapper.o
+       udev_sysdeps.o
 LIBUDEV = libudev.a
 
 MAN_PAGES = \
diff --git a/udev.h b/udev.h
index be01aeaa2a482019055eedd5ef768750e8880902..a69ce0893f0a35bfc64aa05047d29f39d50708e5 100644 (file)
--- a/udev.h
+++ b/udev.h
@@ -27,7 +27,7 @@
 
 #include "list.h"
 #include "logging.h"
-#include "udev_libc_wrapper.h"
+#include "udev_sysdeps.h"
 #include "udev_version.h"
 
 #define COMMENT_CHARACTER                      '#'
similarity index 95%
rename from udev_libc_wrapper.c
rename to udev_sysdeps.c
index 35e01e619d3f5c5c1d59371f18e01fe03cb9d9c7..152b7f0c5c2e06a56d80126f7dfa9c91d1352411 100644 (file)
@@ -1,9 +1,8 @@
 /*
- * udev_libc_wrapper - wrapping of functions missing in a specific libc
- *                    or not working in a statically compiled binary
+ * udev_sysdeps.c - wrapping of libc features and kernel defines
  *
  * Copyright (C) 2003 Greg Kroah-Hartman <greg@kroah.com>
- * Copyright (C) 2005 Kay Sievers <kay@vrfy.org>
+ * Copyright (C) 2005-2006 Kay Sievers <kay.sievers@vrfy.org>
  *
  *     This program is free software; you can redistribute it and/or modify it
  *     under the terms of the GNU General Public License as published by the
similarity index 94%
rename from udev_libc_wrapper.h
rename to udev_sysdeps.h
index 21dbce6474fb1d44868f078edf22ec8457779320..530218f7b9e05d431ba8e25abe1d5554ff2cf15e 100644 (file)
@@ -1,8 +1,7 @@
 /*
- * udev_libc_wrapper - wrapping of functions missing in a specific libc
- *                    or not working in a statically compiled binary
+ * udev_sysdeps.h - wrapping of libc features and kernel defines
  *
- * Copyright (C) 2005 Kay Sievers <kay.sievers@vrfy.org>
+ * Copyright (C) 2005-2006 Kay Sievers <kay.sievers@vrfy.org>
  *
  *     This program is free software; you can redistribute it and/or modify it
  *     under the terms of the GNU General Public License as published by the
@@ -19,8 +18,8 @@
  *
  */
 
-#ifndef _UDEV_LIBC_WRAPPER_H_
-#define _UDEV_LIBC_WRAPPER_H_
+#ifndef _UDEV_SYSDEPS_H_
+#define _UDEV_SYSDEPS_H_
 
 #include <string.h>
 #include <unistd.h>
@@ -169,4 +168,4 @@ extern gid_t lookup_group(const char *group);
 extern size_t strlcpy(char *dst, const char *src, size_t size);
 extern size_t strlcat(char *dst, const char *src, size_t size);
 
-#endif /* _UDEV_LIBC_WRAPPER_H_ */
+#endif