• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2017 The Android Open Source Project
2 // SPDX-License-Identifier: BSD-2-Clause
3 
4 #include <libgen.h>
5 
6 #include "header_checks.h"
7 
libgen_h()8 static void libgen_h() {
9 #if defined(__BIONIC__) // bionic doesn't modify its argument, and admits as much.
10   FUNCTION(basename, char* (*f)(const char*));
11   FUNCTION(dirname, char* (*f)(const char*));
12 #else
13   FUNCTION(basename, char* (*f)(char*));
14   FUNCTION(dirname, char* (*f)(char*));
15 #endif
16 }
17