summaryrefslogtreecommitdiffhomepage
path: root/docs/cstr_api.md
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-15 23:20:16 +0200
committertylov <[email protected]>2023-07-15 23:20:16 +0200
commite9121702a5d69624ef1e782e85a8f032e4f4e875 (patch)
tree00e7770c9b775d98b518d9e3929b6ec4f71ad754 /docs/cstr_api.md
parent23aebb77554bc43c929704e9f1c46dc4520024df (diff)
downloadSTC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.tar.gz
STC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.zip
Improved warning, and other enhancements in ccommon.h
Diffstat (limited to 'docs/cstr_api.md')
-rw-r--r--docs/cstr_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index c7d19e0c..dae5669f 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -160,7 +160,7 @@ char* cstrnstrn(const char* str, const char* search, intptr_t slen, intpt
#define i_implement
#include <stc/cstr.h>
-int main() {
+int main(void) {
cstr s0, s1, full_path;
c_defer(
cstr_drop(&s0),