Skip to content

Commit

Permalink
change include headers to c++ from c
Browse files Browse the repository at this point in the history
  • Loading branch information
Capt Greg authored and Capt Greg committed Jan 23, 2016
1 parent 5e171c4 commit 6b7d19f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions call-stack1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ RSS 2.0 Weblog Feed
#include <cxxabi.h> // cxx name demangling code
#include <iostream>
#include <execinfo.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ucontext.h>
#include <unistd.h>

Expand Down
4 changes: 2 additions & 2 deletions call-stack2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ RSS 2.0 Weblog Feed
#ifndef _STACKTRACE_H_
#define _STACKTRACE_H_

#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <execinfo.h>
#include <cxxabi.h>

Expand Down
4 changes: 2 additions & 2 deletions call-stack3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ EXAMPLE
The program below demonstrates the use of backtrace() and backtrace_symbols(). The following shell session shows what we might see when running the program:
*/

#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <unistd.h>

void
Expand Down

0 comments on commit 6b7d19f

Please sign in to comment.