Преглед на файлове

libdpkg: Mark (de)compress_xz functions as not returning

Guillem Jover преди 16 години
родител
ревизия
3c32c3e2c7
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      lib/dpkg/compress.c

+ 2 - 2
lib/dpkg/compress.c

@@ -325,13 +325,13 @@ struct compressor compressor_bzip2 = {
  * Xz compressor.
  */
 
-static void
+static void DPKG_ATTR_NORET
 decompress_xz(int fd_in, int fd_out, const char *desc)
 {
 	fd_fd_filter(fd_in, fd_out, desc, XZ, "-dc", NULL);
 }
 
-static void
+static void DPKG_ATTR_NORET
 compress_xz(int fd_in, int fd_out, int compress_level, const char *desc)
 {
 	char combuf[6];