Source-Changes-HG archive

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

[src/trunk]: src/dist/am-utils revert dplog changes.



details:   https://anonhg.NetBSD.org/src/rev/7d5344609008
branches:  trunk
changeset: 584508:7d5344609008
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 21 16:28:03 2005 +0000

description:
revert dplog changes.

diffstat:

 dist/am-utils/include/am_utils.h |  6 +++---
 dist/am-utils/libamu/xutil.c     |  6 +-----
 2 files changed, 4 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r 47ee42ef01b9 -r 7d5344609008 dist/am-utils/include/am_utils.h
--- a/dist/am-utils/include/am_utils.h  Wed Sep 21 15:27:14 2005 +0000
+++ b/dist/am-utils/include/am_utils.h  Wed Sep 21 16:28:03 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am_utils.h,v 1.12 2005/09/20 18:07:04 rpaulo Exp $     */
+/*     $NetBSD: am_utils.h,v 1.13 2005/09/21 16:28:03 christos Exp $   */
 
 /*
  * Copyright (c) 1997-2005 Erez Zadok
@@ -319,8 +319,6 @@
 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);
@@ -441,6 +439,8 @@
 /* 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 */
 
diff -r 47ee42ef01b9 -r 7d5344609008 dist/am-utils/libamu/xutil.c
--- a/dist/am-utils/libamu/xutil.c      Wed Sep 21 15:27:14 2005 +0000
+++ b/dist/am-utils/libamu/xutil.c      Wed Sep 21 16:28:03 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xutil.c,v 1.13 2005/09/20 17:57:45 rpaulo Exp $        */
+/*     $NetBSD: xutil.c,v 1.14 2005/09/21 16:28:03 christos Exp $      */
 
 /*
  * Copyright (c) 1997-2005 Erez Zadok
@@ -402,10 +402,6 @@
   real_plog(XLOG_DEBUG, fmt, ap);
   va_end(ap);
 }
-#else
-void
-dplog(const char *fmt, ...)
-{ }
 #endif /* DEBUG */
 
 



Home | Main Index | Thread Index | Old Index