OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
7 #endif /* DEBUG */ | |
8 | |
9 /* | 5 /* |
10 * error.c | 6 * error.c |
11 * | 7 * |
12 * This file contains the code implementing the per-thread error | 8 * This file contains the code implementing the per-thread error |
13 * stacks upon which most NSS routines report their errors. | 9 * stacks upon which most NSS routines report their errors. |
14 */ | 10 */ |
15 | 11 |
16 #ifndef BASE_H | 12 #ifndef BASE_H |
17 #include "base.h" | 13 #include "base.h" |
18 #endif /* BASE_H */ | 14 #endif /* BASE_H */ |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 */ | 260 */ |
265 | 261 |
266 NSS_IMPLEMENT void | 262 NSS_IMPLEMENT void |
267 nss_DestroyErrorStack ( void) | 263 nss_DestroyErrorStack ( void) |
268 { | 264 { |
269 if( INVALID_TPD_INDEX != error_stack_index ) { | 265 if( INVALID_TPD_INDEX != error_stack_index ) { |
270 PR_SetThreadPrivate(error_stack_index, NULL); | 266 PR_SetThreadPrivate(error_stack_index, NULL); |
271 } | 267 } |
272 return; | 268 return; |
273 } | 269 } |
OLD | NEW |