/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#ifndef _SYS_TPRINTF_H_
#define _SYS_TPRINTF_H_
+#include <sys/appleapiopts.h>
+#include <sys/cdefs.h>
+
+#ifdef __APPLE_API_UNSTABLE
+
typedef struct session *tpr_t;
-tpr_t tprintf_open __P((struct proc *));
-void tprintf_close __P((tpr_t));
+__BEGIN_DECLS
+tpr_t tprintf_open(struct proc *);
+void tprintf_close(tpr_t);
+void tprintf(tpr_t, const char *fmt, ...);
+__END_DECLS
+
+#endif /* __APPLE_API_UNSTABLE */
-void tprintf __P((tpr_t, const char *fmt, ...));
#endif /* !_SYS_TPRINTF_H_ */