comparison dep/animone/src/fd/bsd.cc @ 285:65df2813d0de

dep/animone: header cleanup
author Paper <paper@paper.us.eu.org>
date Wed, 08 May 2024 16:43:32 -0400
parents 0718f538c5f9
children b1f625b0227c
comparison
equal deleted inserted replaced
284:e66ffc338d82 285:65df2813d0de
17 #elif defined(LIBUTIL) 17 #elif defined(LIBUTIL)
18 # include <libutil.h> 18 # include <libutil.h>
19 #endif 19 #endif
20 20
21 #include <string> 21 #include <string>
22 #include <iostream>
23 22
24 namespace animone::internal::bsd { 23 namespace animone::internal::bsd {
25 24
26 static std::string Basename(const std::string& name) { 25 static std::string Basename(const std::string& name) {
27 size_t s = name.find_last_of('/'); 26 size_t s = name.find_last_of('/');