Parcourir la source

libcompat: Add a dummy symbol to the empty module

This avoids warnings on systems that do not like a completely empty
object file, or an empty output after the preprocessor has run.
Guillem Jover il y a 14 ans
Parent
commit
d721133a38
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      lib/compat/empty.c

+ 1 - 0
lib/compat/empty.c

@@ -1 +1,2 @@
 /* Some implementations of ar cannot create an empty archive. */
+int libdpkg_empty_dummy_symbol;