File: byteswap.patch

package info (click to toggle)
netcdf 1%3A4.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 116,236 kB
  • sloc: ansic: 281,201; sh: 14,777; cpp: 6,000; yacc: 2,612; makefile: 2,025; lex: 1,218; javascript: 280; xml: 173; awk: 2
file content (16 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Add forward declarations for byteswap8 & byteswap4.
Author: Dennis Heimbigner
Bug: https://github.com/Unidata/netcdf-c/issues/1687

--- a/libdispatch/dfilter.c
+++ b/libdispatch/dfilter.c
@@ -29,6 +29,9 @@
 #include "zdispatch.h"
 #endif
 
+static void byteswap8(unsigned char*);
+static void byteswap4(unsigned char*);
+
 /*
 Unified filter related code
 */