diff options
Diffstat (limited to 'libs/binder/include/binder/TextOutput.h')
-rw-r--r-- | libs/binder/include/binder/TextOutput.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libs/binder/include/binder/TextOutput.h b/libs/binder/include/binder/TextOutput.h index bf9c92bfc5..f66406f7d4 100644 --- a/libs/binder/include/binder/TextOutput.h +++ b/libs/binder/include/binder/TextOutput.h @@ -14,7 +14,8 @@ * limitations under the License. */ -#pragma once +#ifndef ANDROID_TEXTOUTPUT_H +#define ANDROID_TEXTOUTPUT_H #include <utils/Errors.h> #include <utils/String8.h> @@ -49,18 +50,12 @@ public: // --------------------------------------------------------------------------- -// DO NOT USE: prefer libutils/libbase logs, which don't require static data to -// be allocated. // Text output stream for printing to the log (via utils/Log.h). extern TextOutput& alog; -// DO NOT USE: prefer libutils/libbase logs, which don't require static data to -// be allocated. // Text output stream for printing to stdout. extern TextOutput& aout; -// DO NOT USE: prefer libutils/libbase logs, which don't require static data to -// be allocated. // Text output stream for printing to stderr. extern TextOutput& aerr; @@ -205,3 +200,5 @@ inline bool HexDump::carrayStyle() const { return mCArrayStyle; } // --------------------------------------------------------------------------- } // namespace android + +#endif // ANDROID_TEXTOUTPUT_H |