Make null_ptid and minus_one_ptid "const"
[deliverable/binutils-gdb.git] / gdb / common / ptid.h
index 31440c8d7cd953b9ab01d99e522ede5a74d39727..f5625a61387b5bfd44b88f464571b5ace1de921f 100644 (file)
@@ -145,11 +145,11 @@ private:
 
 /* The null or zero ptid, often used to indicate no process. */
 
-extern ptid_t null_ptid;
+extern const ptid_t null_ptid;
 
 /* The (-1,0,0) ptid, often used to indicate either an error condition
    or a "don't care" condition, i.e, "run all threads."  */
 
-extern ptid_t minus_one_ptid;
+extern const ptid_t minus_one_ptid;
 
 #endif /* COMMON_PTID_H */
This page took 0.024577 seconds and 4 git commands to generate.