dd_rescue/libddr_hash-round-down-static.diff
Kurt Garloff 1b7ee0d5d1 Accepting request 520932 from home:garloff:branches:Base:System
- Mark inline function static.
- This time submit after uploading new source tarball to server.

OBS-URL: https://build.opensuse.org/request/show/520932
OBS-URL: https://build.opensuse.org/package/show/Base:System/dd_rescue?expand=0&rev=35
2017-09-05 04:22:12 +00:00

12 lines
302 B
Diff

--- libddr_hash.c.orig 2017-08-25 09:51:38.170686244 +0200
+++ libddr_hash.c 2017-08-25 17:14:33.308431613 +0200
@@ -398,7 +398,7 @@
#error __WORDSIZE unknown
#endif
-inline int round_down(int val, const int gran)
+static inline int round_down(int val, const int gran)
{
return val-val%gran;
}