Code style fixes

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
Matthew Johnson
2017-10-02 13:43:05 -07:00
parent c35e559651
commit e22c597023
+2 -2
View File
@@ -47,14 +47,14 @@ typedef enum xattrs_action_type_t_ xattrs_action_type_t;
#undef UNUSED
#endif
#define UNUSED(x) x __attribute__((__unused__))
static int dummy4(const char * UNUSED(p), const char * UNUSED(n), void * UNUSED(b), size_t UNUSED(l))
static int dummy4(const char *UNUSED(p), const char *UNUSED(n), void *UNUSED(b), size_t UNUSED(l))
{
return 0;
}
/* Return a length of zero attribute names, i.e. there are none.
* Not a perfect emulation, but good enough
*/
#define llistxattr(p, b, l) dummy4(p,p,b,l)
#define llistxattr(p, b, l) dummy4(p, p, b, l)
/* If by some chance we have an attribute name and try and get its
* value then set errno and return an error.
*/