summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_stream.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-14 12:50:52 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-15 10:35:18 +0100
commit196167e9d5c84f9f6dfe6f15b3e2f2c3ec6825dc (patch)
treead5899807c7bb563edc35e5b7f62f2a2abe96ab7 /src/gallium/drivers/trace/tr_stream.h
parent2f34c851c01321b177bc3074755e97af270ec994 (diff)
trace: Make stream a global variable.
This not only simplifies the code, but allows to use atexit() to ensure the log is closed when applications don't exit cleanly.
Diffstat (limited to 'src/gallium/drivers/trace/tr_stream.h')
-rw-r--r--src/gallium/drivers/trace/tr_stream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_stream.h b/src/gallium/drivers/trace/tr_stream.h
index d50fed2691..53e854aa91 100644
--- a/src/gallium/drivers/trace/tr_stream.h
+++ b/src/gallium/drivers/trace/tr_stream.h
@@ -4,7 +4,7 @@
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation streams (the
+ * copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sub license, and/or sell copies of the Software, and to
@@ -28,6 +28,9 @@
/**
* @file
* Cross-platform sequential access stream abstraction.
+ *
+ * These are really general purpose file access functions, and might one day
+ * be moved into the util module.
*/
#ifndef TR_STREAM_H