mirror of
https://github.com/troglobit/finit.git
synced 2026-10-29 12:40:44 +00:00
Refactor, ensure basenm() returns a const char pointer of its arg.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
f29e92be21
commit
791df0c986
4 files changed
+16
-12
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ extern char *prognm;
|
||||
#endif
|
||||
|
||||
char *progname (char *arg0);
|
||||
char *basenm (const char *path);
|
||||
const char *basenm (const char *path);
|
||||
|
||||
char *str (char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
int fnread (char *buf, size_t len, char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
|
||||
Reference in new issue
Block a user