#ifndef __SUBSTRING_H__ #define __SUBSTRING_H__ /** * Find the index of pattern in text. */ int substring (char *text, char *pattern); #endif // __SUBSTRING_H__