projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'dfsg-orig' into dfsg-debian
[debian/tar]
/
gnu
/
priv-set.h
diff --git
a/gnu/priv-set.h
b/gnu/priv-set.h
index 588f57926ee574d9cf37ab4b3359f535e0160bb5..be59285eefd464ca8fc188b2bf8c3cdc36204b48 100644
(file)
--- a/
gnu/priv-set.h
+++ b/
gnu/priv-set.h
@@
-2,7
+2,7
@@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Query, remove, or restore a Solaris privilege.
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Query, remove, or restore a Solaris privilege.
- Copyright (C) 2009
, 2010
Free Software Foundation, Inc.
+ Copyright (C) 2009
-2014
Free Software Foundation, Inc.
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
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
@@
-19,7
+19,15
@@
Written by David Bartley. */
Written by David Bartley. */
-#if HAVE_GETPPRIV
+#ifndef _GL_INLINE_HEADER_BEGIN
+ #error "Please include config.h first."
+#endif
+_GL_INLINE_HEADER_BEGIN
+#ifndef PRIV_SET_INLINE
+# define PRIV_SET_INLINE _GL_INLINE
+#endif
+
+#if HAVE_GETPPRIV && HAVE_PRIV_H
# include <priv.h>
# include <priv.h>
@@
-27,26
+35,32
@@
int priv_set_ismember (const char *priv);
int priv_set_remove (const char *priv);
int priv_set_restore (const char *priv);
int priv_set_remove (const char *priv);
int priv_set_restore (const char *priv);
-static inline int priv_set_remove_linkdir (void)
+PRIV_SET_INLINE int
+priv_set_remove_linkdir (void)
{
return priv_set_remove (PRIV_SYS_LINKDIR);
}
{
return priv_set_remove (PRIV_SYS_LINKDIR);
}
-static inline int priv_set_restore_linkdir (void)
+PRIV_SET_INLINE int
+priv_set_restore_linkdir (void)
{
return priv_set_restore (PRIV_SYS_LINKDIR);
}
#else
{
return priv_set_restore (PRIV_SYS_LINKDIR);
}
#else
-static inline int priv_set_remove_linkdir (void)
+PRIV_SET_INLINE int
+priv_set_remove_linkdir (void)
{
return -1;
}
{
return -1;
}
-static inline int priv_set_restore_linkdir (void)
+PRIV_SET_INLINE int
+priv_set_restore_linkdir (void)
{
return -1;
}
#endif
{
return -1;
}
#endif
+
+_GL_INLINE_HEADER_END