merge fix-implicit-function-declaration.patch

This commit is contained in:
handsome_feng 2024-08-23 21:09:38 +08:00
parent 9934316ec3
commit 2eeb803d8d
3 changed files with 11 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
libkysdk-base (2.2.0.1-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066656).
-- Andrey Rakhmatullin <wrar@debian.org> Sat, 30 Mar 2024 12:44:02 +0500
libkysdk-base (2.2.0.1-1) unstable; urgency=medium libkysdk-base (2.2.0.1-1) unstable; urgency=medium
* New upstream release. * New upstream release.

View File

@ -21,6 +21,9 @@
#include "libkyconf.h" #include "libkyconf.h"
#include "structparse.h" #include "structparse.h"
#include "jsonparse.h"
#include "gsettingsparse.h"
#include "xmlparse.h"
#include <kerr.h> #include <kerr.h>
#include <fcntl.h> #include <fcntl.h>
#include <pthread.h> #include <pthread.h>

View File

@ -25,6 +25,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <limits.h> #include <limits.h>
#include <stdlib.h>
static int verify_file(char *pFileName) static int verify_file(char *pFileName)
{ {