summaryrefslogtreecommitdiff
path: root/bin/systrace/util.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-19 14:38:59 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-07-19 14:38:59 +0000
commited66f77079bc5bb211e47ca10c75bcb842f05d30 (patch)
tree39a849ff4f37162a83f7226a42d71b594bb37c01 /bin/systrace/util.c
parent771ab6f40e69d0d58417b233ebfc999aa73ac143 (diff)
constify, have missing prototypes, use pedantic compilation options.
niels ok
Diffstat (limited to 'bin/systrace/util.c')
-rw-r--r--bin/systrace/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/systrace/util.c b/bin/systrace/util.c
index 94cef3444fc..ad1d4230f2b 100644
--- a/bin/systrace/util.c
+++ b/bin/systrace/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.7 2002/06/22 09:03:57 deraadt Exp $ */
+/* $OpenBSD: util.c,v 1.8 2002/07/19 14:38:58 itojun Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -35,6 +35,8 @@
#include <stdio.h>
#include <pwd.h>
+#include "util.h"
+
char *
strrpl(char *str, size_t size, char *match, char *value)
{