Explicitly pass the winstation to the atom functions so that they can
be used even when current is not set.
diff --git a/server/object.h b/server/object.h
index c7e29ed..dfccf98 100644
--- a/server/object.h
+++ b/server/object.h
@@ -43,6 +43,7 @@
struct wait_queue_entry;
struct async;
struct async_queue;
+struct winstation;
/* operations valid on all objects */
struct object_ops
@@ -157,10 +158,10 @@
/* atom functions */
-extern atom_t add_global_atom( const WCHAR *str, size_t len );
-extern atom_t find_global_atom( const WCHAR *str, size_t len );
-extern int grab_global_atom( atom_t atom );
-extern void release_global_atom( atom_t atom );
+extern atom_t add_global_atom( struct winstation *winstation, const WCHAR *str, size_t len );
+extern atom_t find_global_atom( struct winstation *winstation, const WCHAR *str, size_t len );
+extern int grab_global_atom( struct winstation *winstation, atom_t atom );
+extern void release_global_atom( struct winstation *winstation, atom_t atom );
/* global variables */