mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Make private functions static so we don't pollute the namespace
This commit is contained in:
		
							parent
							
								
									3ae84b6389
								
							
						
					
					
						commit
						addfe0c09c
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		|  | @ -353,7 +353,8 @@ mark_restore(SRE_STATE* state, int lo, int hi) | |||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| void lastmark_restore(SRE_STATE *state, int lastmark) | ||||
| static void | ||||
| lastmark_restore(SRE_STATE *state, int lastmark) | ||||
| { | ||||
|     if (state->lastmark > lastmark) { | ||||
|         memset( | ||||
|  |  | |||
|  | @ -3197,7 +3197,7 @@ PyEval_GetFuncDesc(PyObject *func) | |||
| 
 | ||||
| #define EXT_POP(STACK_POINTER) (*--(STACK_POINTER)) | ||||
| 
 | ||||
| void | ||||
| static void | ||||
| err_args(PyObject *func, int flags, int nargs) | ||||
| { | ||||
| 	if (flags & METH_NOARGS) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Neal Norwitz
						Neal Norwitz