From e080ce3836f476c1b1eb262327d935411824db94 Mon Sep 17 00:00:00 2001 From: 3eef8a28f26fb2bcc514e6f1938929a1f931762 <116031952+3eef8a28f26fb2bcc514e6f1938929a1f931762@users.noreply.github.com> Date: Sat, 4 Feb 2023 21:11:08 -0500 Subject: [PATCH] clean up prototypes --- CourseOfferingsScraper.cpp | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/CourseOfferingsScraper.cpp b/CourseOfferingsScraper.cpp index 8efa825..b5ecc73 100644 --- a/CourseOfferingsScraper.cpp +++ b/CourseOfferingsScraper.cpp @@ -18,20 +18,12 @@ void handle_term(const fs::directory_entry& term_entry,quatalog_data_t&); void handle_prefix(const Json::Value&,const std::string&,quatalog_data_t&,const Json::Value&,course_handler_t*); void handle_course(const Json::Value&,const std::string&,quatalog_data_t&,const Json::Value&); void handle_course_summer(const Json::Value&,const std::string&,quatalog_data_t&,const Json::Value&); -void handle_everything(const Json::Value& sections, - const Json::Value& title, - Json::Value& course_term, - Json::Value&); -void handle_sections(const Json::Value& sections, - Json::Value& course_term); -void handle_instructors(const Json::Value& section, - std::unordered_set& instructors); -void handle_multiple_instructors(const std::string& instructor_str, - std::unordered_set& instructors); -void handle_attributes(const Json::Value& section, - Json::Value& course_term); -void handle_attribute(const std::string& attribute, - Json::Value& attributes); +void handle_everything(const Json::Value&,const Json::Value&,Json::Value& course_term,Json::Value&); +void handle_sections(const Json::Value&,Json::Value&); +void handle_instructors(const Json::Value&,std::unordered_set&); +void handle_multiple_instructors(const std::string&,std::unordered_set&); +void handle_attributes(const Json::Value&,Json::Value&); +void handle_attribute(const std::string&,Json::Value&); int main(const int argc,const char** argv) { if(argc < 3) {