aboutsummaryrefslogtreecommitdiffstats
path: root/src/rate_limiter.h
AgeCommit message (Collapse)AuthorLines
2023-11-20src|tests: Address warning -Wstrict-prototypesSebastian Pipping-3/+3
Symptom with Clang 15: > In file included from userinfo.c:20: > ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > void invalidate_user_cache(); /* safe to call from signal handler */ > ^ > void > [many more]
2020-01-08build: fix build failure with -fno-commonJan Engelhardt-1/+1
$ ./configure CFLAGS=-fno-common && make ld: rate_limiter.o:(.rodata+0x0): multiple definition of "rate_limiter_idle_credit"; bindfs.o:(.rodata+0x0): first defined here References: https://bugzilla.opensuse.org/1160244
2014-06-30Implemented rate limiter.Martin Pärtel-0/+51
Fixes #12.