blob: c7d7b7b4c540315ac2cc903a352d4c590313c38d [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef __USE_GNU
#include <lib/syslog/cpp/macros.h>
// Empty implementation of the POSIX libgen basename call. The Fuchsia
// port does not read files from the filesystem so does not need this call,
// although some code that is compiled does reference it.
// This can be implemented easily if we find we need it.
inline const char* basename(const char* path) {
return path;