You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
618 B

--- ./telnet/commands.c 2015-03-31 15:40:50.000000000 +0000
+++ ../commands.c 2018-03-21 15:24:39.867877463 +0000
@@ -1584,7 +1584,7 @@
*/
register char *shellp, *shellname;
# ifndef strrchr
- extern char *strrchr (const char *, int);
+ extern char __attribute__((overloadable)) *strrchr (const char *, int);
# endif
shellp = getenv ("SHELL");
@@ -1881,7 +1881,7 @@
register char **epp, *cp;
register struct env_lst *ep;
#ifndef strchr
- extern char *strchr (const char *, int);
+ extern char __attribute__((overloadable)) *strchr (const char *, int);
#endif
for (epp = environ; *epp; epp++)