chiark / gitweb /
volume_id: clean up linux_raid code
[elogind.git] / udev_sysdeps.h
index 530218f7b9e05d431ba8e25abe1d5554ff2cf15e..d4f03686af3f0037eeb19d43c38b5cc9dec6caa9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * udev_sysdeps.h - wrapping of libc features and kernel defines
+ * wrapping of libc features and kernel interfaces
  *
  * Copyright (C) 2005-2006 Kay Sievers <kay.sievers@vrfy.org>
  *
@@ -14,7 +14,7 @@
  * 
  *     You should have received a copy of the GNU General Public License along
  *     with this program; if not, write to the Free Software Foundation, Inc.,
- *     675 Mass Ave, Cambridge, MA 02139, USA.
+ *     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  *
  */
 
 # define __NR_inotify_init     290
 # define __NR_inotify_add_watch        291
 # define __NR_inotify_rm_watch 292
+#elif defined (__m32r__)
+# define __NR_inotify_init     290
+# define __NR_inotify_add_watch        291
+# define __NR_inotify_rm_watch 292
 #elif defined (__hppa__)
 # define __NR_inotify_init      269
 # define __NR_inotify_add_watch 270
@@ -162,9 +166,6 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
 #endif
 #endif
 
-extern uid_t lookup_user(const char *user);
-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);