chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fix compilation warning in tdb log message.
[elogind.git]
/
udev_lib.h
diff --git
a/udev_lib.h
b/udev_lib.h
index 2f1965ea32ac4f5743879f09260544d238634c0a..e9ff379fc6665fda1a5e70f2d60808882f09f458 100644
(file)
--- a/
udev_lib.h
+++ b/
udev_lib.h
@@
-65,6
+65,15
@@
do { \
pos = pos + len + strspn(pos, separator), len = strcspn(pos, separator)) \
if (len > 0)
pos = pos + len + strspn(pos, separator), len = strcspn(pos, separator)) \
if (len > 0)
+#ifdef asmlinkage
+# undef asmlinkage
+#endif
+#ifdef __i386__
+# define asmlinkage __attribute__((regparm(0)))
+#endif
+#ifndef asmlinkage
+# define asmlinkage /* nothing */
+#endif
extern char *get_action(void);
extern char *get_devpath(void);
extern char *get_action(void);
extern char *get_devpath(void);