chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
volume_id: terminate overlong label strings
[elogind.git]
/
udev_sysdeps.h
diff --git
a/udev_sysdeps.h
b/udev_sysdeps.h
index 530218f7b9e05d431ba8e25abe1d5554ff2cf15e..d4f03686af3f0037eeb19d43c38b5cc9dec6caa9 100644
(file)
--- a/
udev_sysdeps.h
+++ b/
udev_sysdeps.h
@@
-1,5
+1,5
@@
/*
/*
- *
udev_sysdeps.h - wrapping of libc features and kernel defin
es
+ *
wrapping of libc features and kernel interfac
es
*
* Copyright (C) 2005-2006 Kay Sievers <kay.sievers@vrfy.org>
*
*
* 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.,
*
* 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.
*
*/
*
*/
@@
-64,6
+64,10
@@
# define __NR_inotify_init 290
# define __NR_inotify_add_watch 291
# define __NR_inotify_rm_watch 292
# 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
#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
#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);
extern size_t strlcpy(char *dst, const char *src, size_t size);
extern size_t strlcat(char *dst, const char *src, size_t size);