Use base/log.h instead of deprecated base/printf.h

- Remove use of PLOG, PINF, PWRN, PERR, and printf.
  Only a single use of printf in fesrv remains for now.
- Whitespace and style fixes
- Fix build of server/synergy_input
- Add missing include of base/heap.h (previously, this header
  was implicitly included by root/component.h)
This commit is contained in:
Norman Feske
2016-07-15 13:14:35 +02:00
parent 3405eb2853
commit 1cf653d548
18 changed files with 230 additions and 199 deletions

View File

@@ -374,7 +374,7 @@ Just add the following two lines to hold the program when the second
message appears:
! if (strcmp("basic_string::substr", s) == 0) {
! PERR("stop!");
! Genode::error("stop!");
! for (;;);
! }
@@ -414,7 +414,7 @@ in a new _getenv.cc_ file that we link to the target:
! extern "C" char *getenv(const char *name)
! {
! PINF("environment variable \"%s\" requested", name);
! Genode::log("environment variable \"", name, "\" requested");
! return (char *)"";
! };