public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH 1/2] freezer: add include guards to header
@ 2007-04-27 13:29 Pekka J Enberg
  2007-04-27 14:49 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Pekka J Enberg @ 2007-04-27 13:29 UTC (permalink / raw)
  To: linux-pm; +Cc: nigel, pavel

From: Pekka Enberg <penberg@cs.helsinki.fi>

Add include guards to <linux/freezer.h>.

Cc: Pavel Machek <pavel@ucw.cz>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Nigel Cunningham <nigel@nigel.suspend2.net>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
 include/linux/freezer.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Index: 2.6/include/linux/freezer.h
===================================================================
--- 2.6.orig/include/linux/freezer.h	2007-04-27 16:18:28.000000000 +0300
+++ 2.6/include/linux/freezer.h	2007-04-27 16:19:17.000000000 +0300
@@ -1,7 +1,10 @@
-/* Freezer declarations */
+#ifndef LINUX_FREEZER_H
+#define LINUX_FREEZER_H
 
 #include <linux/sched.h>
 
+/* Freezer declarations */
+
 #ifdef CONFIG_PM
 /*
  * Check if a process has been frozen
@@ -88,3 +91,4 @@ static inline int try_to_freeze(void) { 
 
 
 #endif
+#endif /* LINUX_FREEZER_H */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-27 15:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27 13:29 [RFC/PATCH 1/2] freezer: add include guards to header Pekka J Enberg
2007-04-27 14:49 ` Pavel Machek
2007-04-27 15:01   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox