summaryrefslogtreecommitdiffstats
path: root/innbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-19 21:00:01 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-19 21:00:01 +0800
commitbac35869a07ddf3307643c0a60399e2bdb5b98ea (patch)
treeb30c9559459100d5b55c3d477ba629714ad19a9c /innbbsd
parent15135e4525a4294ce016f87e85841e7d3ec2164b (diff)
downloadpttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.tar
pttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.tar.gz
pttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.tar.bz2
pttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.tar.lz
pttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.tar.xz
pttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.tar.zst
pttbbs-bac35869a07ddf3307643c0a60399e2bdb5b98ea.zip
add 'const' qualifiers on function parameters.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2633 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd')
-rw-r--r--innbbsd/bbslink.c2
-rw-r--r--innbbsd/receive_article.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c
index ae801785..9bd2059f 100644
--- a/innbbsd/bbslink.c
+++ b/innbbsd/bbslink.c
@@ -166,7 +166,7 @@ is_outgo_post(board, filename, userid, nickname, subject)
* woju Cross-fs rename()
*/
-Rename(char *src, char *dst)
+Rename(const char *src, const char *dst)
{
char cmd[200];
diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c
index 9960e7f8..940f94a3 100644
--- a/innbbsd/receive_article.c
+++ b/innbbsd/receive_article.c
@@ -782,7 +782,7 @@ post_article(homepath, userid, board, writebody, pathname, firstpath)
* woju Cross-fs rename()
*/
-Rename(char *src, char *dst)
+Rename(const char *src, const char *dst)
{
char cmd[200];
@@ -841,7 +841,7 @@ nolfilename(n, fpath)
static int
-delete_record(char *fpath, int size, int id)
+delete_record(const char *fpath, int size, int id)
{
nol my;
char abuf[512];