From: Vincent Pit Date: Tue, 7 Apr 2015 14:16:40 +0000 (-0300) Subject: Replace STATIC by static X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScalar-Vec-Util.git;a=commitdiff_plain;h=afa3e8431d5029fe9877128b2bdfd446fec7e230 Replace STATIC by static --- diff --git a/Util.xs b/Util.xs index 86a21ca..6342936 100644 --- a/Util.xs +++ b/Util.xs @@ -11,7 +11,7 @@ #include "bitvect.h" -STATIC size_t svu_validate_uv(pTHX_ SV *sv, const char *desc) { +static size_t svu_validate_uv(pTHX_ SV *sv, const char *desc) { #define svu_validate_uv(S, D) svu_validate_uv(aTHX_ (S), (D)) IV i; @@ -33,7 +33,7 @@ STATIC size_t svu_validate_uv(pTHX_ SV *sv, const char *desc) { return 0; } -STATIC char *svu_prepare_sv(pTHX_ SV *sv, size_t s, size_t l) { +static char *svu_prepare_sv(pTHX_ SV *sv, size_t s, size_t l) { #define svu_prepare_sv(S, I, L) svu_prepare_sv(aTHX_ (S), (I), (L)) STRLEN c; size_t n = s + l, i, js, jz, k, z; diff --git a/bitvect.h b/bitvect.h index 870d65b..207279f 100644 --- a/bitvect.h +++ b/bitvect.h @@ -5,7 +5,7 @@ /* ... Generic macros ...................................................... */ -#define INLINE_DECLARE(P) STATIC P +#define INLINE_DECLARE(P) static P #define INLINE_DEFINE #ifndef BV_UNIT