Factor out the common code in lookup_{static,global}_symbol
[external/binutils.git] / gdb / proc-utils.h
index 7cd8372..8351473 100644 (file)
@@ -16,6 +16,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#ifndef PROC_UTILS_H
+#define PROC_UTILS_H
+
 /* From proc-why.c */
 
 /*
@@ -113,3 +116,5 @@ extern  void  procfs_note      (const char *, const char *, int);
 /* Define the type (and more importantly the width) of the control
    word used to write to the /proc/PID/ctl file.  */
 typedef long procfs_ctl_t;
+
+#endif /* PROC_UTILS_H */