Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/am-utils/include Move the prototype for dplog() outside...



details:   https://anonhg.NetBSD.org/src/rev/567588fb74aa
branches:  trunk
changeset: 584489:567588fb74aa
user:      rpaulo <rpaulo%NetBSD.org@localhost>
date:      Tue Sep 20 18:07:04 2005 +0000

description:
Move the prototype for dplog() outside of the #ifdef DEBUG and avoid a
warning.

diffstat:

 dist/am-utils/include/am_utils.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 201febb469ae -r 567588fb74aa dist/am-utils/include/am_utils.h
--- a/dist/am-utils/include/am_utils.h  Tue Sep 20 18:00:15 2005 +0000
+++ b/dist/am-utils/include/am_utils.h  Tue Sep 20 18:07:04 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am_utils.h,v 1.11 2005/09/20 17:57:45 rpaulo Exp $     */
+/*     $NetBSD: am_utils.h,v 1.12 2005/09/20 18:07:04 rpaulo Exp $     */
 
 /*
  * Copyright (c) 1997-2005 Erez Zadok
@@ -319,6 +319,8 @@
 extern void mnt_free(mntent_t *);
 extern void plog(int, const char *,...)
      __attribute__ ((__format__ (__printf__, 2, 3)));
+extern void dplog(const char *fmt, ...) 
+     __attribute__ ((__format__ (__printf__, 1, 2)));
 extern void rmdirs(char *);
 extern void rpc_msg_init(struct rpc_msg *, u_long, u_long, u_long);
 extern void set_amd_program_number(int program);
@@ -439,8 +441,6 @@
 /* functions that depend solely on debugging */
 extern void print_nfs_args(const nfs_args_t *nap, u_long nfs_version);
 extern int debug_option (char *opt);
-extern void dplog(const char *fmt, ...)
-     __attribute__ ((__format__ (__printf__, 1, 2)));
 
 #else /* not DEBUG */
 



Home | Main Index | Thread Index | Old Index