summaryrefslogtreecommitdiff
path: root/cxx/libcpp/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'cxx/libcpp/foo.h')
-rw-r--r--cxx/libcpp/foo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cxx/libcpp/foo.h b/cxx/libcpp/foo.h
index ba27d39..95780ec 100644
--- a/cxx/libcpp/foo.h
+++ b/cxx/libcpp/foo.h
@@ -1,3 +1,7 @@
+//
+// $Id$
+//
+
#ifndef _foo_h
#define _foo_h
@@ -10,8 +14,8 @@ public :
foo() : i(0) {} ;
foo( const int i0 ) : i(i0) {};
- friend ostream& operator << (ostream&,const foo&);
- friend ostream& operator << (ostream&,const foo&, const foo&);
+ friend std::ostream& operator << (std::ostream&,const foo&);
+ friend std::ostream& operator << (std::ostream&,const foo*);
};
#endif