Skip to content
Snippets Groups Projects
Commit 31afed91 authored by Andrew Price's avatar Andrew Price
Browse files

Remove now-unused err_open()

parent 15f92520
No related branches found
No related tags found
No related merge requests found
......@@ -62,13 +62,3 @@ void pop_cmd(char *string, int len, int *type)
}
string[len]=0;
}
/* common file functions */
int err_open(const char *path,int type,int mode)
{
int x;
x=open(path,type,mode);
if (x<0)
perror(path);
return(x);
}
......@@ -18,6 +18,5 @@ void stack_str(char *string);
int is_stacked(void);
void pop_cmd(char *string, int len, int *type);
int pop_stack(char *string, int len);
int err_open(const char *path,int type,int mode);
#endif /* STRINGS_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment