powerstat: update to 0.04.01.
This commit is contained in:
parent
144b0e3107
commit
bd0c1b3a3d
2 changed files with 2 additions and 22 deletions
|
@ -1,20 +0,0 @@
|
|||
Author: ptrcnull <git@ptrcnull.me>
|
||||
Date: Sun Feb 6 08:51:27 2022 +0100
|
||||
|
||||
Remove "static" from strlcpy
|
||||
|
||||
powerstat.c:339:15: error: static declaration of 'strlcpy' follows non-static declaration
|
||||
|
||||
diff --git a/powerstat.c b/powerstat.c
|
||||
index cf5fc6e..7d03f66 100644
|
||||
--- a/powerstat.c
|
||||
+++ b/powerstat.c
|
||||
@@ -336,7 +336,7 @@ static const int signals[] = {
|
||||
* strlcpy()
|
||||
* BSD strlcpy
|
||||
*/
|
||||
-static size_t strlcpy(char *dst, const char *src, size_t len)
|
||||
+size_t strlcpy(char *dst, const char *src, size_t len)
|
||||
{
|
||||
char *d = dst;
|
||||
const char *s = src;
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'powerstat'
|
||||
pkgname=powerstat
|
||||
version=0.03.03
|
||||
version=0.04.01
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
make_use_env=yes
|
||||
|
@ -10,4 +10,4 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://github.com/ColinIanKing/powerstat"
|
||||
changelog="https://raw.githubusercontent.com/ColinIanKing/powerstat/master/debian/changelog"
|
||||
distfiles="https://github.com/ColinIanKing/powerstat/archive/refs/tags/V${version}.tar.gz"
|
||||
checksum=4d57b119896b777adccaacdf53db32b5b45426a3182adac84f96a64b671a79ee
|
||||
checksum=221270a7a6167cc365e36d57322a301a9713e549d6f5ff840532bb1a349f552f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue