diff options
author | kris <kris@FreeBSD.org> | 2001-04-17 07:46:38 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-04-17 07:46:38 +0000 |
commit | b6da0fca774d229c4776e41d019373d1ec0df7ab (patch) | |
tree | 90405fcc57a8301012105d9d0facc3ded561a0f6 /bin/rcp/rcp.c | |
parent | 9acb56a18a243e153f49b5fc26f3b3050492b013 (diff) | |
download | FreeBSD-src-b6da0fca774d229c4776e41d019373d1ec0df7ab.zip FreeBSD-src-b6da0fca774d229c4776e41d019373d1ec0df7ab.tar.gz |
-Wnon-const-format sweep: make format strings const char *'s, add
__printflike()/__printf0like() to function prototypes, as appropriate.
Reviewed by: bde, -audit
Diffstat (limited to 'bin/rcp/rcp.c')
-rw-r--r-- | bin/rcp/rcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index a1534ea..8f413bd 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -106,10 +106,11 @@ char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ #ifdef KERBEROS int kerberos __P((char **, char *, char *, char *)); -void oldw __P((const char *, ...)); +void oldw __P((const char *, ...)) __printflike(1, 2); #endif int response __P((void)); void rsource __P((char *, struct stat *)); +void run_err __P((const char *, ...)) __printflike(1, 2); void sink __P((int, char *[])); void source __P((int, char *[])); void tolocal __P((int, char *[])); |