summaryrefslogtreecommitdiff
path: root/src/regex/regcomp.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 13:34:14 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 13:34:14 -0400
commit91ab1cb8c64f8dfe3c7fff03ab7a2a94394d6c50 (patch)
treec5724992e73e45029fe861626635a3c7a4def1ba /src/regex/regcomp.c
parent8662fdc44ca56b18bfd7266d27156d858b435973 (diff)
silence warnings
Diffstat (limited to 'src/regex/regcomp.c')
-rw-r--r--src/regex/regcomp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c
index 8dc2aa8d..22b565b9 100644
--- a/src/regex/regcomp.c
+++ b/src/regex/regcomp.c
@@ -3,6 +3,9 @@
int regcomp(regex_t * restrict preg, const char * restrict pattern, int cflags)
{
+ (void)preg;
+ (void)pattern;
+ (void)cflags;
return 0;
}
@@ -10,4 +13,3 @@ int regcomp(regex_t * restrict preg, const char * restrict pattern, int cflags)
/*
POSIX(2)
*/
-