mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-03 23:38:25 +00:00
Code style fixes
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This commit is contained in:
+2
-2
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user