]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #11031 from poettering/gcc-attr-cleanup
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Dec 2018 20:59:00 +0000 (21:59 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Dec 2018 20:59:00 +0000 (21:59 +0100)
various gcc attribute clean-ups

1  2 
src/basic/hashmap.c
src/basic/macro.h
src/basic/static-destruct.h
src/systemd/_sd-common.h

Simple merge
Simple merge
Simple merge
index 9950339d5447d153965e26c2be3d4db01b454112,6fd9244a0168913d5a54ffe154d2286a4941a594..05c38008cf6dcbd9f0d26c59952adc7df50ff2ef
  #  error "Do not include _sd-common.h directly; it is a private header."
  #endif
  
 +typedef void (*_sd_destroy_t)(void *userdata);
 +
  #ifndef _sd_printf_
  #  if __GNUC__ >= 4
- #    define _sd_printf_(a,b) __attribute__ ((__format__(printf, a, b)))
+ #    define _sd_printf_(a,b) __attribute__((__format__(printf, a, b)))
  #  else
  #    define _sd_printf_(a,b)
  #  endif