rpm-build/build/checkFiles.h
Dmitry V. Levin 1ccc182f71 build: rewrite without using nested functions
gcc generates trampolines for pointers to nested functions.
This implies executable stack - the thing we want to avoid.
2015-01-28 17:04:30 +00:00

14 lines
334 B
C

#ifndef CHECKFILES_H
#define CHECKFILES_H
/* Perform filst list check. */
int checkFiles(Spec spec);
/* Helper function: process files with the same name. */
void fiIntersect(const TFI_t fi1, const TFI_t fi2,
void (*cb)(const TFI_t fi1, const TFI_t fi2,
const char *f, int i1, int i2, void *data),
void *data);
#endif