File isdn4k-utils-gcc5-fixes.patch of Package i4l-base

diff -ur a/isdn4k-utils/ipppd/main.c b/isdn4k-utils/ipppd/main.c
--- a/isdn4k-utils/ipppd/main.c	2005-08-01 14:15:15.000000000 +0200
+++ b/isdn4k-utils/ipppd/main.c	2015-05-11 13:09:33.843112816 +0200
@@ -1302,11 +1302,7 @@
          * what gets passed for a va_list is like a void * in some sense.
          */
         a = va_arg(args, void *);
-#ifdef __alpha__       /* always do this? */
-	n = fmtmsg(buf, buflen + 1, f, a);
-#else
-	n = vfmtmsg(buf, buflen + 1, f, a);
-#endif
+        n = fmtmsg(buf, buflen + 1, f, a);
         buf += n;
         buflen -= n;
         continue;
diff -ur a/isdn4k-utils/isdnlog/tools/rate.h b/isdn4k-utils/isdnlog/tools/rate.h
--- a/isdn4k-utils/isdnlog/tools/rate.h	2005-01-02 17:37:21.000000000 +0100
+++ b/isdn4k-utils/isdnlog/tools/rate.h	2015-05-11 12:26:23.024548264 +0200
@@ -275,11 +275,11 @@
 int pnum2prefix(int pnum, time_t when);
 int pnum2prefix_variant(char * pnum, time_t when);
 int vbn2prefix(char *vbn, int *len);
-inline int getNProvider( void );
+int getNProvider( void );
 /* char   *prefix2provider(int prefix, char *s) is defined in telnum.h */
 char   *prefix2provider_variant(int prefix, char *s);
 int isProviderValid(int prefix, time_t when);
-inline int isProviderBooked( int i);
+int isProviderBooked( int i);
 int getPrsel(char *telnum, int *provider, int *zone, int *area);
 
 
openSUSE Build Service is sponsored by