File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -67,17 +67,17 @@ pg_realloc(void *ptr, size_t size)
67
67
* "Safe" wrapper around strdup().
68
68
*/
69
69
char *
70
- pg_strdup (const char * string )
70
+ pg_strdup (const char * in )
71
71
{
72
72
char * tmp ;
73
73
74
- if (!string )
74
+ if (!in )
75
75
{
76
76
fprintf (stderr ,
77
77
_ ("cannot duplicate null pointer (internal error)\n" ));
78
78
exit (EXIT_FAILURE );
79
79
}
80
- tmp = strdup (string );
80
+ tmp = strdup (in );
81
81
if (!tmp )
82
82
{
83
83
fprintf (stderr , _ ("out of memory\n" ));
@@ -116,9 +116,9 @@ pfree(void *pointer)
116
116
}
117
117
118
118
char *
119
- pstrdup (const char * string )
119
+ pstrdup (const char * in )
120
120
{
121
- return pg_strdup (string );
121
+ return pg_strdup (in );
122
122
}
123
123
124
124
void *
Original file line number Diff line number Diff line change 9
9
#ifndef FE_MEMUTILS_H
10
10
#define FE_MEMUTILS_H
11
11
12
- extern char * pg_strdup (const char * string );
12
+ extern char * pg_strdup (const char * in );
13
13
extern void * pg_malloc (size_t size );
14
14
extern void * pg_malloc0 (size_t size );
15
15
extern void * pg_realloc (void * pointer , size_t size );
You can’t perform that action at this time.
0 commit comments