Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-03-09 23:10:25 +0300
committerChristopher Faylor <me@cgf.cx>2003-03-09 23:10:25 +0300
commitc367dfd02c197b33e432f97d74351735f6242e12 (patch)
tree54213ad3aa76b30f6eb18e9ea8f2bc98f906a1f9 /winsup/cygwin/syslog.cc
parent90fec0fa7a96fbf5a2c39be1410336e3f84da477 (diff)
Do some minor reformatting of 'extern "C"' use throughout.
* autoload.cc (GetSystemTimes): Define new autoload function. * fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries. (fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases. (format_proc_uptime): Use GetSystemTimes if available. (read_value): New macro. (print): New macro. (cpuid): New function. (can_set_flag): New function. (format_proc_cpuinfo): New function. (format_proc_partitions): New function.
Diffstat (limited to 'winsup/cygwin/syslog.cc')
-rw-r--r--winsup/cygwin/syslog.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc
index 1d1ffd0e7..b39640524 100644
--- a/winsup/cygwin/syslog.cc
+++ b/winsup/cygwin/syslog.cc
@@ -60,8 +60,7 @@ static int process_logmask = LOG_UPTO (LOG_DEBUG);
* openlog: save the passed args. Don't open the
* system log (NT) or log file (95) yet.
*/
-extern "C"
-void
+extern "C" void
openlog (const char *ident, int logopt, int facility)
{
debug_printf ("openlog called with (%s, %d, %d)",
@@ -208,8 +207,7 @@ pass_handler::print_va (const char *fmt, va_list list)
* always point to that.
*/
-extern "C"
-void
+extern "C" void
syslog (int priority, const char *message, ...)
{
debug_printf ("%x %s", priority, message);
@@ -410,8 +408,7 @@ syslog (int priority, const char *message, ...)
}
}
-extern "C"
-void
+extern "C" void
closelog (void)
{
;